Package org.teiid.metadata.index
Class MetadataConstants
- java.lang.Object
-
- org.teiid.metadata.index.MetadataConstants
-
public final class MetadataConstants extends Object
MetadataConstants are all the constant values used to identify all the valid values for a multi-value attribute. All assigned short values start with 1. Therefore, when the get...TypeName(type) method is called, the method needs to subtract 1 from the argument.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMetadataConstants.COLUMN_SET_TYPESThese types indicate the type of COLUMN_SET it is.static classMetadataConstants.DATATYPE_TYPESA DataType object will be identified as being of one of these types.static classMetadataConstants.DATATYPE_VARIETIESUser defined DataType objects will be categorized by a variety The values must be kept consistent with the XSDVariety enumeration in the xsd metamodel and the values referenced in DatatypeVarietyEnumeration.properties in connector.metadatastatic classMetadataConstants.KEY_TYPESThese types indicate the type of KEY it is.static classMetadataConstants.MATCH_TYPESThese types are associated with a KEY, indicating the type of matching that can be performed on it.static classMetadataConstants.NULL_TYPESThese types are associated with a DataType or an Element needing the indication of null types.static classMetadataConstants.PARAMETER_TYPESThese types indicate the type of PROCEDURE_PARAMETER it is.static classMetadataConstants.PROCEDURE_TYPESThese types indicate the type of PROCEDURE it is.static classMetadataConstants.RECORD_TYPEstatic classMetadataConstants.SEARCH_TYPESThese types are associated with the Element having valid search types.static classMetadataConstants.SQL_TRANSFORMATION_TYPESThese types indicate the type of TRANSFORMATION it it.static classMetadataConstants.TABLE_TYPESThese types represent the type of table a Group is.
-
Field Summary
Fields Modifier and Type Field Description static StringBLANKstatic intNOT_DEFINED_INTDefinition of not defined int type.static longNOT_DEFINED_LONGDefinition of not defined long type.static shortNOT_DEFINED_SHORTDefinition of not defined short type.static StringVERSION_DATE
-
Constructor Summary
Constructors Constructor Description MetadataConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetColumnSetTypeName(short type)static StringgetDataTypeTypeName(short type)static StringgetDataTypeVarietyName(short type)static StringgetKeyTypeName(short type)static StringgetMatchTypeName(short type)static StringgetNullTypeName(short type)static StringgetParameterTypeName(short type)static StringgetProcedureTypeName(short type)static StringgetSearchTypeName(short type)static StringgetSqlTransformationTypeName(short type)static StringgetTableTypeName(short type)
-
-
-
Field Detail
-
NOT_DEFINED_LONG
public static final long NOT_DEFINED_LONG
Definition of not defined long type.- See Also:
- Constant Field Values
-
NOT_DEFINED_INT
public static final int NOT_DEFINED_INT
Definition of not defined int type.- See Also:
- Constant Field Values
-
NOT_DEFINED_SHORT
public static final short NOT_DEFINED_SHORT
Definition of not defined short type.- See Also:
- Constant Field Values
-
BLANK
public static final String BLANK
- See Also:
- Constant Field Values
-
VERSION_DATE
public static final String VERSION_DATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMatchTypeName
public static final String getMatchTypeName(short type)
-
getKeyTypeName
public static final String getKeyTypeName(short type)
-
getColumnSetTypeName
public static final String getColumnSetTypeName(short type)
-
getProcedureTypeName
public static final String getProcedureTypeName(short type)
-
getSqlTransformationTypeName
public static final String getSqlTransformationTypeName(short type)
-
getParameterTypeName
public static final String getParameterTypeName(short type)
-
getSearchTypeName
public static final String getSearchTypeName(short type)
-
getDataTypeTypeName
public static final String getDataTypeTypeName(short type)
-
getDataTypeVarietyName
public static final String getDataTypeVarietyName(short type)
-
getTableTypeName
public static final String getTableTypeName(short type)
-
getNullTypeName
public static final String getNullTypeName(short type)
-
-