public class TempMetadataID extends Object implements Serializable, AbstractMetadataRecord.Modifiable, AbstractMetadataRecord.DataModifiable
| Modifier and Type | Class and Description |
|---|---|
static class |
TempMetadataID.TableData |
static class |
TempMetadataID.Type |
DATA_TTL| Constructor and Description |
|---|
TempMetadataID(String ID,
Class<?> type)
Constructor for element form of metadata ID.
|
TempMetadataID(String ID,
Class<?> type,
Object metadataID)
Constructor for element form of metadata ID with the underlying element.
|
TempMetadataID(String ID,
List<TempMetadataID> elements)
Constructor for group form of metadata ID.
|
TempMetadataID(String ID,
List<TempMetadataID> elements,
TempMetadataID.Type type)
Constructor for group form of metadata ID.
|
public TempMetadataID(String ID, List<TempMetadataID> elements)
ID - Fully-qualified, upper-case name of IDelements - List of TempMetadataID representing elementspublic TempMetadataID(String ID, List<TempMetadataID> elements, TempMetadataID.Type type)
ID - Fully-qualified, upper-case name of IDelements - List of TempMetadataID representing elementstype - of grouppublic TempMetadataID(String ID, Class<?> type)
ID - Fully-qualified, upper-case name of IDtype - Type of elements List of TempMetadataID representing elementspublic TempMetadataID(String ID, Class<?> type, Object metadataID)
ID - Fully-qualified, upper-case name of IDtype - Type of elements List of TempMetadataID representing elementsmetadataID - the orginal metadataIDpublic long getLastDataModification()
getLastDataModification in interface AbstractMetadataRecord.DataModifiablepublic long getLastModified()
getLastModified in interface AbstractMetadataRecord.Modifiablepublic String getID()
public Class<?> getType()
public List<TempMetadataID> getElements()
protected void addElement(TempMetadataID elem)
elem - public boolean isVirtual()
public boolean isTempTable()
public String toString()
public boolean equals(Object obj)
public int hashCode()
public void setOriginalMetadataID(Object metadataId)
public Object getOriginalMetadataID()
public Collection<TempMetadataID> getAccessPatterns()
public void setAccessPatterns(Collection<TempMetadataID> accessPatterns)
public long getCardinality()
public void setCardinality(long cardinality)
public void setTempTable(boolean isTempTable)
public boolean isScalarGroup()
public void setMetadataType(TempMetadataID.Type metadataType)
public TempMetadataID.Type getMetadataType()
public List<TempMetadataID> getPrimaryKey()
public void setPrimaryKey(List<TempMetadataID> primaryKey)
public int getPosition()
public void setPosition(int position)
public QueryNode getQueryNode()
public void setQueryNode(QueryNode queryNode)
public CacheHint getCacheHint()
public void setCacheHint(CacheHint cacheHint)
public List<TempMetadataID> getIndexes()
public List<TempMetadataID> getForeignKeys()
public void addIndex(Object originalMetadataId, List<TempMetadataID> index)
public void addForeignKey(Object originalMetadataId, Object pk, List<TempMetadataID> cols)
public List<List<TempMetadataID>> getUniqueKeys()
public void addUniqueKey(List<TempMetadataID> key)
public TempMetadataID.TableData getTableData()
public boolean isAutoIncrement()
public void setAutoIncrement(boolean autoIncrement)
public boolean isNotNull()
public void setNotNull(boolean notNull)
public void setUpdatable(boolean updatable)
public boolean isUpdatable()
public String getName()
Copyright © 2020. All rights reserved.