- java.lang.Object
-
- org.mybatis.dynamic.sql.util.FragmentCollector
-
public class FragmentCollector extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(FragmentAndParameters fragmentAndParameters)static Collector<FragmentAndParameters,FragmentCollector,FragmentCollector>collect()static Collector<FragmentAndParameters,FragmentCollector,FragmentCollector>collect(FragmentAndParameters initialFragment)Stream<String>fragments()booleanhasMultipleFragments()FragmentCollectormerge(FragmentCollector other)Map<String,Object>parameters()
-
-
-
Method Detail
-
add
public void add(FragmentAndParameters fragmentAndParameters)
-
merge
public FragmentCollector merge(FragmentCollector other)
-
hasMultipleFragments
public boolean hasMultipleFragments()
-
collect
public static Collector<FragmentAndParameters,FragmentCollector,FragmentCollector> collect()
-
collect
public static Collector<FragmentAndParameters,FragmentCollector,FragmentCollector> collect(FragmentAndParameters initialFragment)
-
-