Class SQLParameterLookupParser
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.util.PropertyLookupParser
-
- org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLParameterLookupParser
-
- All Implemented Interfaces:
Serializable
public class SQLParameterLookupParser extends PropertyLookupParser
Creation-Date: 16.04.2006, 20:30:42- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.util.PropertyLookupParser
ESCAPE_MODE_ALL, ESCAPE_MODE_NONE, ESCAPE_MODE_STRICT
-
-
Constructor Summary
Constructors Constructor Description SQLParameterLookupParser(boolean expandArray)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getFields()
protected void
handleVariableLookup(StringBuilder result, DataRow parameters, String columnName)
boolean
isExpandArray()
protected String
lookupVariable(String name)
Looks up the property with the given name.-
Methods inherited from class org.pentaho.reporting.engine.classic.core.util.PropertyLookupParser
getClosingBraceChar, getEscapeChar, getEscapeMode, getMarkerChar, getOpeningBraceChar, postProcessCharacter, setClosingBraceChar, setEscapeChar, setEscapeMode, setMarkerChar, setOpeningBraceChar, translateAndLookup, translateAndLookup
-
-
-
-
Method Detail
-
lookupVariable
protected String lookupVariable(String name)
Description copied from class:PropertyLookupParser
Looks up the property with the given name.- Specified by:
lookupVariable
in classPropertyLookupParser
- Parameters:
name
- the name of the property to look up.- Returns:
- the translated value.
-
getFields
public String[] getFields()
-
handleVariableLookup
protected void handleVariableLookup(StringBuilder result, DataRow parameters, String columnName)
- Overrides:
handleVariableLookup
in classPropertyLookupParser
-
isExpandArray
public boolean isExpandArray()
-
-