Package org.mybatis.dynamic.sql.util
Class FragmentCollector
java.lang.Object
org.mybatis.dynamic.sql.util.FragmentCollector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(FragmentAndParameters fragmentAndParameters) collect()
collect
(FragmentAndParameters initialFragment) collectFragments
(Collector<CharSequence, ?, String> fragmentCollector) boolean
boolean
isEmpty()
merge
(FragmentCollector other) toFragmentAndParameters
(Collector<CharSequence, ?, String> fragmentCollector)
-
Constructor Details
-
FragmentCollector
public FragmentCollector()
-
-
Method Details
-
add
-
merge
-
firstFragment
-
collectFragments
-
toFragmentAndParameters
public FragmentAndParameters toFragmentAndParameters(Collector<CharSequence, ?, String> fragmentCollector) -
parameters
-
hasMultipleFragments
public boolean hasMultipleFragments() -
isEmpty
public boolean isEmpty() -
collect
-
collect
public static Collector<FragmentAndParameters,FragmentCollector, collectFragmentCollector> (FragmentAndParameters initialFragment)
-