public class TransformationMetadata extends BasicQueryMetadata implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
ALLOWED_LANGUAGES |
static char |
DELIMITER_CHAR
Delimiter character used when specifying fully qualified entity names
|
static String |
DELIMITER_STRING |
static Properties |
EMPTY_PROPS |
static String |
NOT_EXISTS_MESSAGE |
UNKNOWN_CARDINALITY| Constructor and Description |
|---|
TransformationMetadata(VDBMetaData vdbMetadata,
CompositeMetadataStore store,
Map<String,VDBResources.Resource> vdbEntries,
FunctionTree systemFunctions,
Collection<FunctionTree> functionTrees)
TransformationMetadata constructor
|
| Modifier and Type | Method and Description |
|---|---|
Object |
addToMetadataCache(Object metadataID,
String key,
Object value) |
boolean |
elementSupports(Object elementID,
int elementConstant)
Determine whether the specified element supports some feature.
|
Collection<KeyRecord> |
getAccessPatternsInGroup(Object groupID)
Get the access patterns for the specified group
|
byte[] |
getBinaryVDBResource(String resourcePath)
Gets the contents of a VDB resource in binary form.
|
float |
getCardinality(Object groupID)
Return the cardinality for this group
|
String |
getCharacterVDBResource(String resourcePath)
Gets the contents of a VDB resource as a String.
|
static Column |
getColumn(String elementName,
Table table,
String shortElementName) |
Class<?> |
getDataTypeClass(String typeOrDomainName)
Get the runtime type class for the given type name, which may include domains
|
String |
getDefaultValue(Object elementID)
Get the element's default value for an element symbol
|
String |
getDeletePlan(Object groupID)
Get procedure defining the delete plan for this group.
|
TransformationMetadata |
getDesignTimeMetadata()
Get the metadata without visibility and session tables
|
float |
getDistinctValues(Object elementID)
Get the number of distinct values for this column.
|
Column |
getElementID(String elementName)
Get the metadata-implementation identifier object for the given element name.
|
List<Column> |
getElementIDsInAccessPattern(Object accessPattern)
Get the elements in the access pattern
|
List<Column> |
getElementIDsInGroupID(Object groupID)
Get list of metadata element IDs for a group ID
|
List<Column> |
getElementIDsInIndex(Object index)
Get the elements in the index
|
List<Column> |
getElementIDsInKey(Object key)
Get the elements in the key
|
int |
getElementLength(Object elementID)
Get the element length for a given element ID.
|
String |
getElementRuntimeTypeName(Object elementID)
Get the element type name for an element symbol.
|
Properties |
getExtensionProperties(Object metadataID)
Get all extension properties defined on this metadata object
|
String |
getExtensionProperty(Object metadataID,
String key,
boolean checkUnqualified) |
Collection<ForeignKey> |
getForeignKeysInGroup(Object groupID)
Get the foreign keys for the specified group
|
String |
getFormat(Object elementID)
Get the element's format
|
Object |
getFromMetadataCache(Object metadataID,
String key) |
String |
getFullName(Object metadataID)
Get the fully qualified (unique) name of the metadata identifier specified.
|
FunctionLibrary |
getFunctionLibrary() |
Table |
getGroupID(String groupName)
Get the metadata-implementation identifier object for the given group name.
|
Object |
getGroupIDForElementID(Object elementID)
Get containg group ID given element ID
|
Collection<String> |
getGroupsForPartialName(String partialGroupName)
Get a collection of group names that match the partially qualified group name.
|
Set<String> |
getImportedModels() |
Collection<KeyRecord> |
getIndexesInGroup(Object groupID)
Get the indexes for the specified group
|
String |
getInsertPlan(Object groupID)
Get procedure defining the insert plan for this group.
|
Object |
getMaterialization(Object groupID)
Accquire the physical group ID (the Materialization) for the given virtual
group ID, or
null if the given virtual group has no Materialization. |
Object |
getMaterializationStage(Object groupID)
Accquire the physical group ID that is used for the staging area for loading
(the Materialization) for the given virtual group ID, or
null
if the given virtual group has no Materialization. |
Object |
getMaximumValue(Object elementID)
Get the element's default value for an element symbol
|
int |
getMaxSetSize(Object modelID)
Get the max set size for the specified model.
|
CompositeMetadataStore |
getMetadataStore() |
Object |
getMinimumValue(Object elementID)
Get the element's minimum value for an element symbol
|
Object |
getModelID(Object groupOrElementID)
Get the metadata-implementation identifier object for the model containing the
specified group or element ID.
|
Schema |
getModelID(String modelName) |
List<Schema> |
getModelIDs() |
String |
getName(Object metadataID)
Get the name of the metadata identifier specified.
|
String |
getNameInSource(Object metadataID)
Get the name in source of the metadata identifier specified.
|
String |
getNativeType(Object elementID)
Get the native type of the element specified.
|
float |
getNullValues(Object elementID)
Get the number of distinct values for this column.
|
Map<String,DataPolicyMetadata> |
getPolicies() |
int |
getPosition(Object elementID)
Get the element's position in the group
|
int |
getPrecision(Object elementID)
Get the element's precision
|
Object |
getPrimaryKey(Object metadataID) |
Object |
getPrimaryKeyIDForForeignKeyID(Object foreignKeyID)
Get the corresponding primary key ID for the specified foreign
key ID
|
int |
getRadix(Object elementID)
Get the element's radix
|
int |
getScale(Object elementID)
Get the element's scale
|
ScriptEngine |
getScriptEngineDirect(String language) |
StoredProcedureInfo |
getStoredProcedureInfoForProcedure(String name)
Get the the StoredProcedureInfo based on the fully qualified procedure name
|
Collection<KeyRecord> |
getUniqueKeysInGroup(Object groupID)
Get the unique keys for the specified group (primary and unique keys)
The primary key if present will be first in the collection
|
String |
getUpdatePlan(Object groupID)
Get procedure defining the update plan for this group.
|
VDBMetaData |
getVdbMetaData() |
BlobImpl |
getVDBResourceAsBlob(String resourcePath) |
ClobImpl |
getVDBResourceAsClob(String resourcePath) |
SQLXMLImpl |
getVDBResourceAsSQLXML(String resourcePath) |
String[] |
getVDBResourcePaths()
Gets the resource paths of all the resources in the VDB.
|
String |
getVirtualDatabaseName()
Get the currently connected virtual database name.
|
QueryNode |
getVirtualPlan(Object groupID)
Get virtual plan for a group symbol.
|
boolean |
groupSupports(Object groupID,
int groupConstant)
Determine whether the specified group supports some feature.
|
boolean |
hasMaterialization(Object groupID)
Determine whether given virtual group has an associated Materialization.
|
boolean |
hasProcedure(String name)
Return true if a procedure exists with the given name (partial or fqn)
|
boolean |
isEnvAllowed() |
boolean |
isHiddenResolvable() |
boolean |
isLongRanks() |
boolean |
isProcedure(Object groupID)
Determine whether this is a procedure
|
boolean |
isVariadic(Object metadataID) |
boolean |
isVirtualGroup(Object groupID)
Determine whether a group is virtual or not.
|
boolean |
isVirtualModel(Object modelID)
Determine whether a model is virtual or not.
|
boolean |
modelSupports(Object modelID,
int modelConstant)
Determine whether the specified model supports some feature.
|
void |
setAllowENV(boolean b) |
void |
setHiddenResolvable(boolean hiddenResolvable) |
void |
setLongRanks(boolean longRanks) |
void |
setUseOutputNames(boolean useOutputNames) |
void |
setWidenComparisonToString(boolean widenComparisonToString) |
boolean |
useOutputName() |
boolean |
widenComparisonToString() |
findShortName, getFunctionBasedExpressions, getScriptEngine, getSessionMetadata, getXMLSchemas, isMultiSource, isMultiSourceElement, isPseudo, isScalarGroup, isTemporaryTablepublic static final String ALLOWED_LANGUAGES
public static final char DELIMITER_CHAR
public static final String DELIMITER_STRING
public static String NOT_EXISTS_MESSAGE
public static Properties EMPTY_PROPS
public TransformationMetadata(VDBMetaData vdbMetadata, CompositeMetadataStore store, Map<String,VDBResources.Resource> vdbEntries, FunctionTree systemFunctions, Collection<FunctionTree> functionTrees)
public Column getElementID(String elementName) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementID in interface QueryMetadataInterfacegetElementID in class BasicQueryMetadataelementName - Fully qualified element nameQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getElementID(String)public static Column getColumn(String elementName, Table table, String shortElementName) throws QueryMetadataException
QueryMetadataExceptionpublic Table getGroupID(String groupName) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetGroupID in interface QueryMetadataInterfacegetGroupID in class BasicQueryMetadatagroupName - Fully qualified group nameQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getGroupID(String)public Collection<String> getGroupsForPartialName(String partialGroupName) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetGroupsForPartialName in interface QueryMetadataInterfacegetGroupsForPartialName in class BasicQueryMetadatapartialGroupName - Partially qualified group nameQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getGroupID(String)public Object getModelID(Object groupOrElementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetModelID in interface QueryMetadataInterfacegetModelID in class BasicQueryMetadatagroupOrElementID - Metadata group or element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getModelID(Object)public String getFullName(Object metadataID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetFullName in interface QueryMetadataInterfacegetFullName in class BasicQueryMetadatametadataID - Metadata identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getFullName(Object)public String getName(Object metadataID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetName in interface QueryMetadataInterfacegetName in class BasicQueryMetadatametadataID - Metadata identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic List<Column> getElementIDsInGroupID(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementIDsInGroupID in interface QueryMetadataInterfacegetElementIDsInGroupID in class BasicQueryMetadatagroupID - Group IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getElementIDsInGroupID(Object)public Object getGroupIDForElementID(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetGroupIDForElementID in interface QueryMetadataInterfacegetGroupIDForElementID in class BasicQueryMetadataelementID - Element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getGroupIDForElementID(Object)public boolean hasProcedure(String name) throws TeiidComponentException
QueryMetadataInterfacehasProcedure in interface QueryMetadataInterfacehasProcedure in class BasicQueryMetadataTeiidComponentExceptionpublic StoredProcedureInfo getStoredProcedureInfoForProcedure(String name) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetStoredProcedureInfoForProcedure in interface QueryMetadataInterfacegetStoredProcedureInfoForProcedure in class BasicQueryMetadataname - the fully qualified stored procedure nameQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getStoredProcedureInfoForProcedure(String)public String getElementRuntimeTypeName(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceDataTypeManager.DefaultDataTypes.getElementRuntimeTypeName in interface QueryMetadataInterfacegetElementRuntimeTypeName in class BasicQueryMetadataelementID - The element symbolQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getDefaultValue(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetDefaultValue in interface QueryMetadataInterfacegetDefaultValue in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object getMinimumValue(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetMinimumValue in interface QueryMetadataInterfacegetMinimumValue in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Object getMaximumValue(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetMaximumValue in interface QueryMetadataInterfacegetMaximumValue in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic boolean isVirtualGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceisVirtualGroup in interface QueryMetadataInterfaceisVirtualGroup in class BasicQueryMetadatagroupID - Group symbolQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.isVirtualGroup(Object)public boolean isProcedure(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceisProcedure in interface QueryMetadataInterfaceisProcedure in class BasicQueryMetadatagroupID - Group identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic boolean isVirtualModel(Object modelID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceisVirtualModel in interface QueryMetadataInterfaceisVirtualModel in class BasicQueryMetadatamodelID - model symbolQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.isVirtualModel(Object)public QueryNode getVirtualPlan(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetVirtualPlan in interface QueryMetadataInterfacegetVirtualPlan in class BasicQueryMetadatagroupID - GroupTeiidComponentExceptionQueryMetadataExceptionpublic String getInsertPlan(Object groupID) throws TeiidComponentException, QueryMetadataException
BasicQueryMetadatagetInsertPlan in interface QueryMetadataInterfacegetInsertPlan in class BasicQueryMetadatagroupID - GroupTeiidComponentExceptionQueryMetadataExceptionpublic String getUpdatePlan(Object groupID) throws TeiidComponentException, QueryMetadataException
BasicQueryMetadatagetUpdatePlan in interface QueryMetadataInterfacegetUpdatePlan in class BasicQueryMetadatagroupID - GroupTeiidComponentExceptionQueryMetadataExceptionpublic String getDeletePlan(Object groupID) throws TeiidComponentException, QueryMetadataException
BasicQueryMetadatagetDeletePlan in interface QueryMetadataInterfacegetDeletePlan in class BasicQueryMetadatagroupID - GroupTeiidComponentExceptionQueryMetadataExceptionpublic boolean modelSupports(Object modelID, int modelConstant) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacemodelSupports in interface QueryMetadataInterfacemodelSupports in class BasicQueryMetadatamodelID - Metadata identifier specifying the modelmodelConstant - Constant from SupportConstants.ModelQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.modelSupports(Object, int)public boolean groupSupports(Object groupID, int groupConstant) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegroupSupports in interface QueryMetadataInterfacegroupSupports in class BasicQueryMetadatagroupID - Group metadata IDgroupConstant - Constant from SupportConstants.GroupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.groupSupports(Object, int)public boolean elementSupports(Object elementID, int elementConstant) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceelementSupports in interface QueryMetadataInterfaceelementSupports in class BasicQueryMetadataelementID - Element metadata IDelementConstant - Constant from SupportConstants.ElementQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.elementSupports(Object, int)public int getMaxSetSize(Object modelID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetMaxSetSize in interface QueryMetadataInterfacegetMaxSetSize in class BasicQueryMetadatamodelID - Metadata identifier specifying modelQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getMaxSetSize(Object)public Collection<KeyRecord> getIndexesInGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetIndexesInGroup in interface QueryMetadataInterfacegetIndexesInGroup in class BasicQueryMetadatagroupID - Metadata identifier specifying groupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getIndexesInGroup(java.lang.Object)public Collection<KeyRecord> getUniqueKeysInGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetUniqueKeysInGroup in interface QueryMetadataInterfacegetUniqueKeysInGroup in class BasicQueryMetadatagroupID - Metadata identifier specifying groupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getUniqueKeysInGroup(Object)public Collection<ForeignKey> getForeignKeysInGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetForeignKeysInGroup in interface QueryMetadataInterfacegetForeignKeysInGroup in class BasicQueryMetadatagroupID - Metadata identifier specifying groupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getForeignKeysInGroup(Object)public Object getPrimaryKeyIDForForeignKeyID(Object foreignKeyID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetPrimaryKeyIDForForeignKeyID in interface QueryMetadataInterfacegetPrimaryKeyIDForForeignKeyID in class BasicQueryMetadataforeignKeyID - Metadata identifier of a foreign keyQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getPrimaryKeyIDForForeignKeyID(Object)public Collection<KeyRecord> getAccessPatternsInGroup(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetAccessPatternsInGroup in interface QueryMetadataInterfacegetAccessPatternsInGroup in class BasicQueryMetadatagroupID - Metadata identifier specifying groupQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getAccessPatternsInGroup(Object)public List<Column> getElementIDsInIndex(Object index) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementIDsInIndex in interface QueryMetadataInterfacegetElementIDsInIndex in class BasicQueryMetadataindex - Index identifier, as returned by QueryMetadataInterface.getIndexesInGroup(java.lang.Object)QueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getElementIDsInIndex(java.lang.Object)public List<Column> getElementIDsInKey(Object key) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementIDsInKey in interface QueryMetadataInterfacegetElementIDsInKey in class BasicQueryMetadatakey - Key identifier, as returned by QueryMetadataInterface.getUniqueKeysInGroup(java.lang.Object)QueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getElementIDsInKey(Object)public List<Column> getElementIDsInAccessPattern(Object accessPattern) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetElementIDsInAccessPattern in interface QueryMetadataInterfacegetElementIDsInAccessPattern in class BasicQueryMetadataaccessPattern - access pattern identifier, as returned by QueryMetadataInterface.getAccessPatternsInGroup(java.lang.Object)QueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getElementIDsInAccessPattern(Object)public boolean hasMaterialization(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacehasMaterialization in interface QueryMetadataInterfacehasMaterialization in class BasicQueryMetadatagroupID - the groupID of the virtual group in question.QueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.hasMaterialization(java.lang.Object)public Object getMaterialization(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacenull if the given virtual group has no Materialization.getMaterialization in interface QueryMetadataInterfacegetMaterialization in class BasicQueryMetadatagroupID - the groupID of a virtual group that has a Materialization.TeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestQueryMetadataInterface.getMaterialization(java.lang.Object)public Object getMaterializationStage(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacenull
if the given virtual group has no Materialization.getMaterializationStage in interface QueryMetadataInterfacegetMaterializationStage in class BasicQueryMetadatagroupID - the groupID of a virtual group that has a Materialization.TeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestQueryMetadataInterface.getMaterializationStage(java.lang.Object)public String getVirtualDatabaseName() throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetVirtualDatabaseName in interface QueryMetadataInterfacegetVirtualDatabaseName in class BasicQueryMetadataQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getVirtualDatabaseName()public VDBMetaData getVdbMetaData()
public float getCardinality(Object groupID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetCardinality in interface QueryMetadataInterfacegetCardinality in class BasicQueryMetadatagroupID - Metadata identifier specifying groupTeiidComponentExceptionQueryMetadataExceptionpublic String getNameInSource(Object metadataID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetNameInSource in interface QueryMetadataInterfacegetNameInSource in class BasicQueryMetadatametadataID - Metadata identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getElementLength(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfaceDataTypeManager.DefaultDataTypes.getElementLength in interface QueryMetadataInterfacegetElementLength in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getPosition(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetPosition in interface QueryMetadataInterfacegetPosition in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getPrecision(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetPrecision in interface QueryMetadataInterfacegetPrecision in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getRadix(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetRadix in interface QueryMetadataInterfacegetRadix in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getFormat(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetFormat in interface QueryMetadataInterfacegetFormat in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic int getScale(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetScale in interface QueryMetadataInterfacegetScale in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic float getDistinctValues(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetDistinctValues in interface QueryMetadataInterfacegetDistinctValues in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getDistinctValues(java.lang.Object)public float getNullValues(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetNullValues in interface QueryMetadataInterfacegetNullValues in class BasicQueryMetadataelementID - The element IDQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestQueryMetadataInterface.getNullValues(java.lang.Object)public String getNativeType(Object elementID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetNativeType in interface QueryMetadataInterfacegetNativeType in class BasicQueryMetadataelementID - Element identifierQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic Properties getExtensionProperties(Object metadataID) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetExtensionProperties in interface QueryMetadataInterfacegetExtensionProperties in class BasicQueryMetadatametadataID - Typically element, group, model, or procedureQueryMetadataException - Metadata implementation detected a problem during the requestTeiidComponentException - Unexpected internal system problem during requestpublic String getExtensionProperty(Object metadataID, String key, boolean checkUnqualified)
getExtensionProperty in interface QueryMetadataInterfacegetExtensionProperty in class BasicQueryMetadatapublic byte[] getBinaryVDBResource(String resourcePath) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetBinaryVDBResource in interface QueryMetadataInterfacegetBinaryVDBResource in class BasicQueryMetadataresourcePath - a path returned by getVDBResourcePaths()TeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestBasicQueryMetadata.getBinaryVDBResource(java.lang.String)public SQLXMLImpl getVDBResourceAsSQLXML(String resourcePath)
public String getCharacterVDBResource(String resourcePath) throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetCharacterVDBResource in interface QueryMetadataInterfacegetCharacterVDBResource in class BasicQueryMetadataresourcePath - a path returned by getVDBResourcePaths()TeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestBasicQueryMetadata.getCharacterVDBResource(java.lang.String)public CompositeMetadataStore getMetadataStore()
public String[] getVDBResourcePaths() throws TeiidComponentException, QueryMetadataException
QueryMetadataInterfacegetVDBResourcePaths in interface QueryMetadataInterfacegetVDBResourcePaths in class BasicQueryMetadataTeiidComponentException - Unexpected internal system problem during requestQueryMetadataException - Metadata implementation detected a problem during the requestBasicQueryMetadata.getVDBResourcePaths()public Object addToMetadataCache(Object metadataID, String key, Object value)
addToMetadataCache in interface QueryMetadataInterfaceaddToMetadataCache in class BasicQueryMetadatapublic Object getFromMetadataCache(Object metadataID, String key) throws TeiidComponentException, QueryMetadataException
getFromMetadataCache in interface QueryMetadataInterfacegetFromMetadataCache in class BasicQueryMetadataTeiidComponentExceptionQueryMetadataExceptionpublic FunctionLibrary getFunctionLibrary()
getFunctionLibrary in interface QueryMetadataInterfacegetFunctionLibrary in class BasicQueryMetadatapublic Object getPrimaryKey(Object metadataID)
getPrimaryKey in interface QueryMetadataInterfacegetPrimaryKey in class BasicQueryMetadatapublic TransformationMetadata getDesignTimeMetadata()
QueryMetadataInterfacegetDesignTimeMetadata in interface QueryMetadataInterfacegetDesignTimeMetadata in class BasicQueryMetadatapublic Set<String> getImportedModels()
getImportedModels in interface QueryMetadataInterfacegetImportedModels in class BasicQueryMetadatapublic ScriptEngine getScriptEngineDirect(String language) throws TeiidProcessingException
getScriptEngineDirect in class BasicQueryMetadataTeiidProcessingExceptionpublic boolean isVariadic(Object metadataID)
isVariadic in interface QueryMetadataInterfaceisVariadic in class BasicQueryMetadatapublic Schema getModelID(String modelName) throws TeiidComponentException, QueryMetadataException
getModelID in interface QueryMetadataInterfacegetModelID in class BasicQueryMetadataTeiidComponentExceptionQueryMetadataExceptionpublic List<Schema> getModelIDs()
getModelIDs in interface QueryMetadataInterfacegetModelIDs in class BasicQueryMetadatapublic Map<String,DataPolicyMetadata> getPolicies()
public boolean useOutputName()
useOutputName in interface QueryMetadataInterfaceuseOutputName in class BasicQueryMetadatapublic void setUseOutputNames(boolean useOutputNames)
public boolean widenComparisonToString()
widenComparisonToString in interface QueryMetadataInterfacewidenComparisonToString in class BasicQueryMetadatapublic void setWidenComparisonToString(boolean widenComparisonToString)
public boolean isHiddenResolvable()
public void setHiddenResolvable(boolean hiddenResolvable)
public Class<?> getDataTypeClass(String typeOrDomainName) throws QueryMetadataException
QueryMetadataInterfacegetDataTypeClass in interface QueryMetadataInterfacegetDataTypeClass in class BasicQueryMetadataQueryMetadataExceptionpublic boolean isEnvAllowed()
isEnvAllowed in interface QueryMetadataInterfaceisEnvAllowed in class BasicQueryMetadatapublic void setAllowENV(boolean b)
public boolean isLongRanks()
isLongRanks in interface QueryMetadataInterfaceisLongRanks in class BasicQueryMetadatapublic void setLongRanks(boolean longRanks)
Copyright © 2019. All rights reserved.