| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private int | |
| protected DataValueFactory | |
| private final ExecutionFactory | |
| protected UUID | |
| protected int[][] | |
| private int | |
| protected String[] | |
| protected boolean[] | |
| protected UUID[] | |
| protected UUID | |
| private UUIDFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract SystemColumn[] | |
| public abstract TupleDescriptor | buildDescriptor(ExecRow row, TupleDescriptor parentTuple, DataDictionary dataDictionary)
builds a tuple descriptor from a row |
| public String | Returns: the following index name: CatalogName + "_INDEX" + (indexNumber+1)Number of index indexNumber)Generate an index name based on the index number. |
| public String | Returns: String The name for the heap conglomerate.Get the name for the heap conglomerate underlying this catalog. |
| public UUID | Returns: the uuid of the heapGet the UUID of the heap underlying this catalog. |
| public UUID | Returns: the uuid of the heapThe (0-based) index number. indexNumber)Get the UUID of the numbered index. |
| public UUID | |
| public String | |
| public Properties | Returns: The Properties associated with creating the heap.Get the Properties associated with creating the heap. |
| public Properties | Returns: The Properties associated with creating the specified index.The specified index number. indexNumber)Get the Properties associated with creating the specified index. |
| public DataValueFactory | Returns: the data value factory for this connectionGets the DataValueFactory for this connection. |
| public ExecutionFactory | |
| public int | Returns: The number of columns in the heap.Get the number of columns in the heap. |
| public int | Returns: int The number of columns in the index for the specifed index number.The (0-based) index number. indexNum)Get the number of columns in the index for the specified index number. |
| public int[] | |
| public String | Returns: String The name for the specified index number.The (0-based) index number. indexNum)Get the name for the specified index number. |
| public int | |
| public int | Returns: a 0-based numberGet the index number for the primary key index on this catalog. |
| public UUIDFactory | |
| public void | initInfo(int
number of columns in the base table. columnCount, String name of the catalog (the case might have to be converted). catalogName, int[][] 2 dim array of ints specifying the base
column positions for each index. indexColumnPositions, boolean[] Uniqueness of the indices indexUniqueness, String[] Array of stringified UUIDs for table and its conglomerates uuidStrings)Initialize info, including array of index names and array of index column counts. |
| public boolean | Returns: boolean Whether or not the specified index is unique.The (0-based) index number. indexNumber)Return whether or not the specified index is unique. |
| public ExecRow | |
| public ExecRow | Returns: an empty rowCreate an empty row for this conglomerate, in the format that would be used in a database that was created with, or hard upgraded to, the currently running version. |
| public ExecRow |
| catalogName | back to summary |
|---|---|
| private String catalogName | |
| columnCount | back to summary |
|---|---|
| private int columnCount | |
| dvf | back to summary |
|---|---|
| protected DataValueFactory dvf | |
| ef | back to summary |
|---|---|
| private final ExecutionFactory ef | |
| heapUUID | back to summary |
|---|---|
| protected UUID heapUUID | |
| indexColumnPositions | back to summary |
|---|---|
| protected int[][] indexColumnPositions | |
| indexCount | back to summary |
|---|---|
| private int indexCount | |
| indexNames | back to summary |
|---|---|
| protected String[] indexNames | |
| indexUniqueness | back to summary |
|---|---|
| protected boolean[] indexUniqueness | |
| indexUUID | back to summary |
|---|---|
| protected UUID[] indexUUID | |
| tableUUID | back to summary |
|---|---|
| protected UUID tableUUID | |
| uuidf | back to summary |
|---|---|
| private UUIDFactory uuidf | |
| CatalogRowFactory | back to summary |
|---|---|
| public CatalogRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf) | |
| buildColumnList | back to summary |
|---|---|
| public abstract SystemColumn[] buildColumnList() throws StandardException builds a column list for the catalog | |
| buildDescriptor | back to summary |
|---|---|
| public abstract TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTuple, DataDictionary dataDictionary) throws StandardException builds a tuple descriptor from a row | |
| generateIndexName | back to summary |
|---|---|
| public String generateIndexName(int indexNumber) Generate an index name based on the index number.
| |
| getCanonicalHeapName | back to summary |
|---|---|
| public String getCanonicalHeapName() Get the name for the heap conglomerate underlying this catalog. See getCanonicalTableUUID() for a description of canonical uuids.
| |
| getCanonicalHeapUUID | back to summary |
|---|---|
| public UUID getCanonicalHeapUUID() Get the UUID of the heap underlying this catalog. See getCanonicalTableUUID() for a description of canonical uuids.
| |
| getCanonicalIndexUUID | back to summary |
|---|---|
| public UUID getCanonicalIndexUUID(int indexNumber) Get the UUID of the numbered index. See getCanonicalTableUUID() for a description of canonical uuids.
| |
| getCanonicalTableUUID | back to summary |
|---|---|
| public UUID getCanonicalTableUUID() Get the UUID of this catalog. This is the hard-coded uuid for this catalog that is generated for releases starting with Plato (1.3). Earlier releases generated their own UUIDs for system objectss on the fly.
| |
| getCatalogName | back to summary |
|---|---|
| public String getCatalogName() get the name of the catalog | |
| getCreateHeapProperties | back to summary |
|---|---|
| public Properties getCreateHeapProperties() Get the Properties associated with creating the heap.
| |
| getCreateIndexProperties | back to summary |
|---|---|
| public Properties getCreateIndexProperties(int indexNumber) Get the Properties associated with creating the specified index.
| |
| getDataValueFactory | back to summary |
|---|---|
| public DataValueFactory getDataValueFactory() Gets the DataValueFactory for this connection.
| |
| getExecutionFactory | back to summary |
|---|---|
| public ExecutionFactory getExecutionFactory() Gets a ExecutionFactory
| |
| getHeapColumnCount | back to summary |
|---|---|
| public int getHeapColumnCount() throws StandardException Get the number of columns in the heap.
| |
| getIndexColumnCount | back to summary |
|---|---|
| public int getIndexColumnCount(int indexNum) Get the number of columns in the index for the specified index number.
| |
| getIndexColumnPositions | back to summary |
|---|---|
| public int[] getIndexColumnPositions(int indexNumber) Return the column positions for a given index number | |
| getIndexName | back to summary |
|---|---|
| public String getIndexName(int indexNum) Get the name for the specified index number.
| |
| getNumIndexes | back to summary |
|---|---|
| public int getNumIndexes() get the number of indexes on this catalog | |
| getPrimaryKeyIndexNumber | back to summary |
|---|---|
| public int getPrimaryKeyIndexNumber() Get the index number for the primary key index on this catalog.
| |
| getUUIDFactory | back to summary |
|---|---|
| public UUIDFactory getUUIDFactory() Get the UUID factory
| |
| initInfo | back to summary |
|---|---|
| public void initInfo(int columnCount, String catalogName, int[][] indexColumnPositions, boolean[] indexUniqueness, String[] uuidStrings) Initialize info, including array of index names and array of index column counts. Called at constructor time.
| |
| isIndexUnique | back to summary |
|---|---|
| public boolean isIndexUnique(int indexNumber) Return whether or not the specified index is unique.
| |
| makeEmptyRow | back to summary |
|---|---|
| public ExecRow makeEmptyRow() throws StandardException Return an empty row for this conglomerate. | |
| makeEmptyRowForCurrentVersion | back to summary |
|---|---|
| public ExecRow makeEmptyRowForCurrentVersion() throws StandardException Create an empty row for this conglomerate, in the format that would be used in a database that was created with, or hard upgraded to, the currently running version. That is, even if the database is only soft-upgraded, this method should return a row in the new format.
This method is for use in code that creates the catalogs, or that
upgrades the format of the catalogs to the newest version. Other code
should call
| |
| makeRow | back to summary |
|---|---|
| public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException most subclasses should provide this method. One or two oddball cases in Replication and SysSTATEMENTSRowFactory don't. For those we call makeRow with the additional arguments. | |