public class JdbcQuery extends Bean implements JdbcSource
| Modifier and Type | Class and Description |
|---|---|
static class |
JdbcQuery.Cardinality |
SERIALIZED_CLASS_NAME, TYPEXML_SERIALIZED_CLASS_NAME| Constructor and Description |
|---|
JdbcQuery() |
JdbcQuery(String name,
String query) |
addExceptionProperties, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecordnewInstanceFromJsonforEachGrandChildElement, fromXml, fromXml, fromXmlElement, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, toXmlElement, writeXml, writeXmladdExceptionProperties, contributeExceptionProperties, contributeExceptionProperties, exception, exception, exceptionpublic JdbcConnection getConnection()
protected JdbcQuery setConnection(JdbcConnection connection)
public String getName()
getName in interface JdbcSourcepublic String getQuery()
getQuery in interface JdbcSourcepublic List<JdbcQueryParameter> getParameters()
public JdbcQuery setParameters(Collection<JdbcQueryParameter> parameters)
public JdbcQuery addParameter(JdbcQueryParameter parameter)
public JdbcQuery addParameter(String name, Class<?> javaType, Integer sqlType, String exampleValueExpression)
public JdbcQuery addParameter(String name, Class<?> javaType, String exampleValueExpression)
public List<JdbcQueryColumn> getColumns()
public JdbcQuery setColumns(Collection<JdbcQueryColumn> columns)
public JdbcQuery addColumn(JdbcQueryColumn column)
public JdbcQuery.Cardinality getCardinality()
public JdbcQuery setCardinality(JdbcQuery.Cardinality cardinality)
public JdbcSourceType getSourceType()
getSourceType in interface JdbcSourcepublic JdbcQuery sortColumns()
public Record toRecord()
toRecord in interface RecordSerializabletoRecord in class Beanpublic JdbcQuery fromRecord(Record source)
RecordSerializablethis (for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord in interface RecordSerializablefromRecord in class BeanCopyright (c) 2006-2025 North Concepts Inc. All Rights Reserved.