public class MetadataFieldsFetcherFromResultSet extends BaseMetadataFieldsFetcherVariants
| Modifier and Type | Field and Description |
|---|---|
protected int |
defaultValueField |
protected java.lang.String |
defaultValueFieldName |
protected int |
longDescriptionField |
protected java.lang.String |
longDescriptionFieldName |
protected int |
nameField |
protected java.lang.String |
nameFieldName |
protected int |
nullableField |
protected java.lang.String |
nullableFieldName |
protected int |
precisionField |
protected java.lang.String |
precisionFieldName |
protected int |
primaryField |
protected java.lang.String |
primaryFieldName |
protected int |
readOnlyField |
protected java.lang.String |
readOnlyFieldName |
protected ResultSetWrapper |
resultSet |
protected int |
scaleField |
protected java.lang.String |
scaleFieldName |
protected int |
serverTypeField |
protected java.lang.String |
serverTypeFieldName |
protected int |
shortDescriptionField |
protected java.lang.String |
shortDescriptionFieldName |
protected int |
sizeField |
protected java.lang.String |
sizeFieldName |
| Constructor and Description |
|---|
MetadataFieldsFetcherFromResultSet(BaseSQLContext sqlContext) |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
calcDefaultValue() |
protected void |
calcFieldName(SQLQualifiedName name) |
protected java.lang.String |
calcLongDescription() |
protected int |
calcPrecision() |
protected int |
calcScale() |
protected java.lang.String |
calcShortDescription() |
protected int |
calcSize() |
protected java.lang.String |
calcTypeOnServer() |
protected boolean |
canCalcDefaultValue() |
protected boolean |
canCalcIsNullable() |
protected boolean |
canCalcIsReadOnly() |
protected boolean |
canCalcLongDescription() |
protected boolean |
canCalcPrecision() |
protected boolean |
canCalcPrimaryKey() |
protected boolean |
canCalcScale() |
protected boolean |
canCalcShortDescription() |
protected boolean |
canCalcSize() |
protected boolean |
canCalcTypeOnServer() |
protected void |
close() |
java.lang.String |
getDefaultValueFieldName() |
java.lang.String |
getLongDescriptionFieldName() |
java.lang.String |
getNameFieldName() |
protected java.lang.Object |
getNullable() |
java.lang.String |
getNullableFieldName() |
java.lang.String |
getPrecisionFieldName() |
protected java.lang.Object |
getPrimary() |
java.lang.String |
getPrimaryFieldName() |
protected java.lang.Object |
getReadOnly() |
java.lang.String |
getReadOnlyFieldName() |
java.sql.ResultSet |
getResultSet() |
java.lang.String |
getScaleFieldName() |
java.lang.String |
getServerTypeFieldName() |
java.lang.String |
getShortDescriptionFieldName() |
java.lang.String |
getSizeFieldName() |
protected void |
init() |
protected boolean |
next() |
void |
setDefaultValueFieldName(java.lang.String value) |
void |
setLongDescriptionFieldName(java.lang.String value) |
void |
setNameFieldName(java.lang.String nameFieldName) |
void |
setNullableFieldName(java.lang.String nullableFieldName) |
void |
setPrecisionFieldName(java.lang.String precisionFieldName) |
void |
setPrimaryFieldName(java.lang.String primaryFieldName) |
void |
setReadOnlyFieldName(java.lang.String readOnlyFieldName) |
void |
setResultSet(java.sql.ResultSet resultSet) |
void |
setScaleFieldName(java.lang.String scaleFieldName) |
void |
setServerTypeFieldName(java.lang.String serverTypeFieldName) |
void |
setShortDescriptionFieldName(java.lang.String value) |
void |
setSizeFieldName(java.lang.String sizeFieldName) |
calcIsNullable, calcIsPrimaryKey, calcIsReadOnly, getNonNullableValue, getNonPrimaryValue, getNonReadOnlyValue, getNullableValue, getPrimaryValue, getReadOnlyValue, setNonNullableValue, setNonPrimaryValue, setNonReadOnlyValue, setNullableValue, setPrimaryValue, setReadOnlyValuedispose, getSqlContext, getTrimSpaces, loadFields, setTrimSpaces, trimNameprotected ResultSetWrapper resultSet
protected int nameField
protected int primaryField
protected int nullableField
protected int readOnlyField
protected int serverTypeField
protected int sizeField
protected int precisionField
protected int scaleField
protected int defaultValueField
protected int shortDescriptionField
protected int longDescriptionField
protected java.lang.String nameFieldName
protected java.lang.String primaryFieldName
protected java.lang.String nullableFieldName
protected java.lang.String readOnlyFieldName
protected java.lang.String serverTypeFieldName
protected java.lang.String sizeFieldName
protected java.lang.String precisionFieldName
protected java.lang.String scaleFieldName
protected java.lang.String defaultValueFieldName
protected java.lang.String shortDescriptionFieldName
protected java.lang.String longDescriptionFieldName
public MetadataFieldsFetcherFromResultSet(BaseSQLContext sqlContext)
public java.sql.ResultSet getResultSet()
public void setResultSet(java.sql.ResultSet resultSet)
public java.lang.String getNameFieldName()
public void setNameFieldName(java.lang.String nameFieldName)
public java.lang.String getPrimaryFieldName()
public void setPrimaryFieldName(java.lang.String primaryFieldName)
public java.lang.String getNullableFieldName()
public void setNullableFieldName(java.lang.String nullableFieldName)
public java.lang.String getReadOnlyFieldName()
public void setReadOnlyFieldName(java.lang.String readOnlyFieldName)
public java.lang.String getServerTypeFieldName()
public void setServerTypeFieldName(java.lang.String serverTypeFieldName)
public java.lang.String getSizeFieldName()
public void setSizeFieldName(java.lang.String sizeFieldName)
public java.lang.String getPrecisionFieldName()
public void setPrecisionFieldName(java.lang.String precisionFieldName)
public java.lang.String getScaleFieldName()
public void setScaleFieldName(java.lang.String scaleFieldName)
public java.lang.String getDefaultValueFieldName()
public void setDefaultValueFieldName(java.lang.String value)
public java.lang.String getShortDescriptionFieldName()
public void setShortDescriptionFieldName(java.lang.String value)
public java.lang.String getLongDescriptionFieldName()
public void setLongDescriptionFieldName(java.lang.String value)
protected void init()
throws QueryBuilderException
init in class BaseMetadataFieldsFetcherQueryBuilderExceptionprotected boolean canCalcPrimaryKey()
canCalcPrimaryKey in class BaseMetadataFieldsFetcherprotected java.lang.Object getPrimary()
getPrimary in class BaseMetadataFieldsFetcherVariantsprotected boolean canCalcIsNullable()
canCalcIsNullable in class BaseMetadataFieldsFetcherprotected java.lang.Object getNullable()
getNullable in class BaseMetadataFieldsFetcherVariantsprotected boolean canCalcIsReadOnly()
canCalcIsReadOnly in class BaseMetadataFieldsFetcherprotected java.lang.Object getReadOnly()
getReadOnly in class BaseMetadataFieldsFetcherVariantsprotected void calcFieldName(SQLQualifiedName name)
calcFieldName in class BaseMetadataFieldsFetcherprotected boolean canCalcTypeOnServer()
canCalcTypeOnServer in class BaseMetadataFieldsFetcherprotected java.lang.String calcTypeOnServer()
calcTypeOnServer in class BaseMetadataFieldsFetcherprotected boolean canCalcSize()
canCalcSize in class BaseMetadataFieldsFetcherprotected int calcSize()
calcSize in class BaseMetadataFieldsFetcherprotected boolean canCalcPrecision()
canCalcPrecision in class BaseMetadataFieldsFetcherprotected boolean canCalcScale()
canCalcScale in class BaseMetadataFieldsFetcherprotected int calcPrecision()
calcPrecision in class BaseMetadataFieldsFetcherprotected int calcScale()
calcScale in class BaseMetadataFieldsFetcherprotected boolean canCalcDefaultValue()
canCalcDefaultValue in class BaseMetadataFieldsFetcherprotected java.lang.String calcDefaultValue()
calcDefaultValue in class BaseMetadataFieldsFetcherprotected boolean canCalcShortDescription()
canCalcShortDescription in class BaseMetadataFieldsFetcherprotected java.lang.String calcShortDescription()
calcShortDescription in class BaseMetadataFieldsFetcherprotected boolean canCalcLongDescription()
canCalcLongDescription in class BaseMetadataFieldsFetcherprotected java.lang.String calcLongDescription()
calcLongDescription in class BaseMetadataFieldsFetcherprotected boolean next()
throws QueryBuilderException
next in class BaseMetadataFieldsFetcherQueryBuilderExceptionprotected void close()
close in class BaseMetadataFieldsFetcher