Package com.adbs.metadata
Class MetadataFieldsFetcherFromQuery
- java.lang.Object
-
- com.adbs.metadata.BaseMetadataFieldsFetcher
-
- com.adbs.metadata.BaseMetadataFieldsFetcherVariants
-
- com.adbs.metadata.MetadataFieldsFetcherFromResultSet
-
- com.adbs.metadata.MetadataFieldsFetcherFromQuery
-
- All Implemented Interfaces:
Disposable
- Direct Known Subclasses:
MetadataFieldsFetcherFromQueryInformix
public class MetadataFieldsFetcherFromQuery extends MetadataFieldsFetcherFromResultSet
-
-
Field Summary
-
Fields inherited from class com.adbs.metadata.MetadataFieldsFetcherFromResultSet
defaultValueField, defaultValueFieldName, longDescriptionField, longDescriptionFieldName, nameField, nameFieldName, nullableField, nullableFieldName, precisionField, precisionFieldName, primaryField, primaryFieldName, readOnlyField, readOnlyFieldName, resultSet, scaleField, scaleFieldName, serverTypeField, serverTypeFieldName, shortDescriptionField, shortDescriptionFieldName, sizeField, sizeFieldName
-
-
Constructor Summary
Constructors Constructor Description MetadataFieldsFetcherFromQuery(BaseSQLContext sqlContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidclose()voidcreateResultSet()voiddestroyResultSet()voiddispose()java.lang.StringgetQuery()protected voidinit()booleanisResultSetCreated()voidsetQuery(java.lang.String query)-
Methods inherited from class com.adbs.metadata.MetadataFieldsFetcherFromResultSet
calcDefaultValue, calcFieldName, calcLongDescription, calcPrecision, calcScale, calcShortDescription, calcSize, calcTypeOnServer, canCalcDefaultValue, canCalcIsNullable, canCalcIsReadOnly, canCalcLongDescription, canCalcPrecision, canCalcPrimaryKey, canCalcScale, canCalcShortDescription, canCalcSize, canCalcTypeOnServer, getDefaultValueFieldName, getLongDescriptionFieldName, getNameFieldName, getNullable, getNullableFieldName, getPrecisionFieldName, getPrimary, getPrimaryFieldName, getReadOnly, getReadOnlyFieldName, getResultSet, getScaleFieldName, getServerTypeFieldName, getShortDescriptionFieldName, getSizeFieldName, next, setDefaultValueFieldName, setLongDescriptionFieldName, setNameFieldName, setNullableFieldName, setPrecisionFieldName, setPrimaryFieldName, setReadOnlyFieldName, setResultSet, setScaleFieldName, setServerTypeFieldName, setShortDescriptionFieldName, setSizeFieldName
-
Methods inherited from class com.adbs.metadata.BaseMetadataFieldsFetcherVariants
calcIsNullable, calcIsPrimaryKey, calcIsReadOnly, getNonNullableValue, getNonPrimaryValue, getNonReadOnlyValue, getNullableValue, getPrimaryValue, getReadOnlyValue, setNonNullableValue, setNonPrimaryValue, setNonReadOnlyValue, setNullableValue, setPrimaryValue, setReadOnlyValue
-
Methods inherited from class com.adbs.metadata.BaseMetadataFieldsFetcher
getSqlContext, getTrimSpaces, loadFields, setTrimSpaces, trimName
-
-
-
-
Constructor Detail
-
MetadataFieldsFetcherFromQuery
public MetadataFieldsFetcherFromQuery(BaseSQLContext sqlContext)
-
-
Method Detail
-
getQuery
public java.lang.String getQuery()
-
setQuery
public void setQuery(java.lang.String query)
-
dispose
public void dispose()
- Specified by:
disposein interfaceDisposable- Overrides:
disposein classBaseMetadataFieldsFetcher
-
init
protected void init() throws QueryBuilderException- Overrides:
initin classMetadataFieldsFetcherFromResultSet- Throws:
QueryBuilderException
-
close
protected void close()
- Overrides:
closein classMetadataFieldsFetcherFromResultSet
-
createResultSet
public void createResultSet() throws QueryBuilderException- Throws:
QueryBuilderException
-
destroyResultSet
public void destroyResultSet()
-
isResultSetCreated
public boolean isResultSetCreated()
-
-