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 class
MetadataConstants.COLUMN_SET_TYPES
These types indicate the type of COLUMN_SET it is.static class
MetadataConstants.DATATYPE_TYPES
A DataType object will be identified as being of one of these types.static class
MetadataConstants.DATATYPE_VARIETIES
User 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 class
MetadataConstants.KEY_TYPES
These types indicate the type of KEY it is.static class
MetadataConstants.MATCH_TYPES
These types are associated with a KEY, indicating the type of matching that can be performed on it.static class
MetadataConstants.NULL_TYPES
These types are associated with a DataType or an Element needing the indication of null types.static class
MetadataConstants.PARAMETER_TYPES
These types indicate the type of PROCEDURE_PARAMETER it is.static class
MetadataConstants.PROCEDURE_TYPES
These types indicate the type of PROCEDURE it is.static class
MetadataConstants.RECORD_TYPE
static class
MetadataConstants.SEARCH_TYPES
These types are associated with the Element having valid search types.static class
MetadataConstants.SQL_TRANSFORMATION_TYPES
These types indicate the type of TRANSFORMATION it it.static class
MetadataConstants.TABLE_TYPES
These types represent the type of table a Group is.
-
Field Summary
Fields Modifier and Type Field Description static String
BLANK
static int
NOT_DEFINED_INT
Definition of not defined int type.static long
NOT_DEFINED_LONG
Definition of not defined long type.static short
NOT_DEFINED_SHORT
Definition of not defined short type.static String
VERSION_DATE
-
Constructor Summary
Constructors Constructor Description MetadataConstants()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getColumnSetTypeName(short type)
static String
getDataTypeTypeName(short type)
static String
getDataTypeVarietyName(short type)
static String
getKeyTypeName(short type)
static String
getMatchTypeName(short type)
static String
getNullTypeName(short type)
static String
getParameterTypeName(short type)
static String
getProcedureTypeName(short type)
static String
getSearchTypeName(short type)
static String
getSqlTransformationTypeName(short type)
static String
getTableTypeName(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)
-
-