public class Table extends ColumnSet<Schema> implements AbstractMetadataRecord.Modifiable, AbstractMetadataRecord.DataModifiable
Modifier and Type | Class and Description |
---|---|
static class |
Table.TriggerEvent |
static class |
Table.Type |
AbstractMetadataRecord.DataModifiable, AbstractMetadataRecord.Modifiable
Modifier and Type | Field and Description |
---|---|
static int |
UNKNOWN_CARDINALITY |
NAME_DELIM_CHAR, RELATIONAL_PREFIX
DATA_TTL
Constructor and Description |
---|
Table() |
getColumnByName, getColumns, getParent, removeColumn, setColumns, setParent
equals, getAnnotation, getCanonicalName, getIdentifier, getIncomingObjects, getName, getNameInSource, getProperties, getProperty, getProperty, getSourceName, getSQLString, getSQLString, getUUID, hashCode, isUUIDSet, setAnnotation, setIncomingObjects, setName, setNameInSource, setProperties, setProperty, setUUID, toString
public static final int UNKNOWN_CARDINALITY
@Deprecated public List<String> getBindings()
@Deprecated public void setBindings(List<String> bindings)
@Deprecated public List<String> getSchemaPaths()
@Deprecated public void setSchemaPaths(List<String> schemaPaths)
public int getCardinality()
public float getCardinalityAsFloat()
public boolean isVirtual()
public boolean isMaterialized()
public boolean isPhysical()
public boolean isSystem()
public Table.Type getTableType()
public boolean supportsUpdate()
public void setCardinality(int i)
i
- public void setCardinality(long f)
public void setTableType(Table.Type i)
i
- public void setSupportsUpdate(boolean b)
b
- public void setVirtual(boolean b)
b
- public void setMaterialized(boolean isMaterialized)
isMaterialized
- The isMaterialized to set.public void setSystem(boolean b)
b
- public String getInsertPlan()
public String getUpdatePlan()
public String getDeletePlan()
public void setInsertPlan(String insertPlan)
public void setUpdatePlan(String updatePlan)
public void setDeletePlan(String deletePlan)
public List<ForeignKey> getForeignKeys()
public void setForeignKeys(List<ForeignKey> foreignKeys)
@Deprecated public void setForiegnKeys(List<ForeignKey> foriegnKeys)
public KeyRecord getPrimaryKey()
public void setPrimaryKey(KeyRecord primaryKey)
public String getSelectTransformation()
public void setSelectTransformation(String selectTransformation)
public Table getMaterializedStageTable()
public Table getMaterializedTable()
public void setMaterializedStageTable(Table materializedStageTable)
public void setMaterializedTable(Table materializedTable)
public void setResourcePath(String resourcePath)
public String getResourcePath()
public Collection<KeyRecord> getAllKeys()
public long getLastDataModification()
getLastDataModification
in interface AbstractMetadataRecord.DataModifiable
public long getLastModified()
getLastModified
in interface AbstractMetadataRecord.Modifiable
public void setLastDataModification(long lastDataModification)
public void setLastModified(long lastModified)
public void setTableStats(TableStats stats)
public boolean isDeletePlanEnabled()
public boolean isInsertPlanEnabled()
public boolean isUpdatePlanEnabled()
public void setInsertPlanEnabled(boolean insertPlanEnabled)
public void setDeletePlanEnabled(boolean deletePlanEnabled)
public void setUpdatePlanEnabled(boolean updatePlanEnabled)
public String getFullName()
AbstractMetadataRecord
getFullName
in class AbstractMetadataRecord
Copyright © 2020. All rights reserved.