Package org.hotrod.dynamicsql
Class SimpleStaticSegmentConsumer
- java.lang.Object
-
- org.hotrod.dynamicsql.SimpleStaticSegmentConsumer
-
- All Implemented Interfaces:
StaticSegmentConsumer
public class SimpleStaticSegmentConsumer extends Object implements StaticSegmentConsumer
-
-
Constructor Summary
Constructors Constructor Description SimpleStaticSegmentConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconsume(String literal)voidconsume(ParameterOccurrence p)List<ParameterOccurrence>getParameters()StringgetSQL()voidstartNextEntry()
-
-
-
Method Detail
-
consume
public void consume(String literal)
- Specified by:
consumein interfaceStaticSegmentConsumer
-
consume
public void consume(ParameterOccurrence p)
- Specified by:
consumein interfaceStaticSegmentConsumer
-
startNextEntry
public void startNextEntry()
- Specified by:
startNextEntryin interfaceStaticSegmentConsumer
-
getSQL
public String getSQL()
-
getParameters
public List<ParameterOccurrence> getParameters()
-
-