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.MetadataFieldsFetcherFromResultSetdefaultValueField, defaultValueFieldName, longDescriptionField, longDescriptionFieldName, nameField, nameFieldName, nullableField, nullableFieldName, precisionField, precisionFieldName, primaryField, primaryFieldName, readOnlyField, readOnlyFieldName, resultSet, scaleField, scaleFieldName, serverTypeField, serverTypeFieldName, shortDescriptionField, shortDescriptionFieldName, sizeField, sizeFieldName
 
- 
 - 
Constructor SummaryConstructors Constructor Description MetadataFieldsFetcherFromQuery(BaseSQLContext sqlContext)
 - 
Method SummaryAll 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.MetadataFieldsFetcherFromResultSetcalcDefaultValue, 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.BaseMetadataFieldsFetcherVariantscalcIsNullable, calcIsPrimaryKey, calcIsReadOnly, getNonNullableValue, getNonPrimaryValue, getNonReadOnlyValue, getNullableValue, getPrimaryValue, getReadOnlyValue, setNonNullableValue, setNonPrimaryValue, setNonReadOnlyValue, setNullableValue, setPrimaryValue, setReadOnlyValue
 - 
Methods inherited from class com.adbs.metadata.BaseMetadataFieldsFetchergetSqlContext, getTrimSpaces, loadFields, setTrimSpaces, trimName
 
- 
 
- 
- 
- 
Constructor Detail- 
MetadataFieldsFetcherFromQuerypublic MetadataFieldsFetcherFromQuery(BaseSQLContext sqlContext) 
 
- 
 - 
Method Detail- 
getQuerypublic java.lang.String getQuery() 
 - 
setQuerypublic void setQuery(java.lang.String query) 
 - 
disposepublic void dispose() - Specified by:
- disposein interface- Disposable
- Overrides:
- disposein class- BaseMetadataFieldsFetcher
 
 - 
initprotected void init() throws QueryBuilderException- Overrides:
- initin class- MetadataFieldsFetcherFromResultSet
- Throws:
- QueryBuilderException
 
 - 
closeprotected void close() - Overrides:
- closein class- MetadataFieldsFetcherFromResultSet
 
 - 
createResultSetpublic void createResultSet() throws QueryBuilderException- Throws:
- QueryBuilderException
 
 - 
destroyResultSetpublic void destroyResultSet() 
 - 
isResultSetCreatedpublic boolean isResultSetCreated() 
 
- 
 
-