public class SYSVIEWSRowFactory extends CatalogRowFactory
Modifier and Type | Field and Description |
---|---|
private static int[][] |
indexColumnPositions |
protected static int |
SYSVIEWS_CHECKOPTION |
protected static int |
SYSVIEWS_COLUMN_COUNT |
protected static int |
SYSVIEWS_COMPILATION_SCHEMAID |
protected static int |
SYSVIEWS_INDEX1_ID |
protected static int |
SYSVIEWS_TABLEID |
protected static int |
SYSVIEWS_TABLEID_WIDTH |
protected static int |
SYSVIEWS_VIEWDEFINITION |
private static java.lang.String |
TABLENAME_STRING |
private static boolean[] |
uniqueness |
private static java.lang.String[] |
uuids |
dvf, heapUUID, indexNames, indexUniqueness, indexUUID, tableUUID
Constructor and Description |
---|
SYSVIEWSRowFactory(UUIDFactory uuidf,
ExecutionFactory ef,
DataValueFactory dvf) |
Modifier and Type | Method and Description |
---|---|
SystemColumn[] |
buildColumnList()
Builds a list of columns suitable for creating this Catalog.
|
TupleDescriptor |
buildDescriptor(ExecRow row,
TupleDescriptor parentTupleDescriptor,
DataDictionary dd)
Make a ViewDescriptor out of a SYSVIEWS row
|
ExecRow |
makeRow(TupleDescriptor td,
TupleDescriptor parent)
Make a SYSVIEWS row
|
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateHeapProperties, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRow, makeEmptyRowForCurrentVersion
private static final java.lang.String TABLENAME_STRING
protected static final int SYSVIEWS_COLUMN_COUNT
protected static final int SYSVIEWS_TABLEID
protected static final int SYSVIEWS_VIEWDEFINITION
protected static final int SYSVIEWS_CHECKOPTION
protected static final int SYSVIEWS_COMPILATION_SCHEMAID
protected static final int SYSVIEWS_TABLEID_WIDTH
protected static final int SYSVIEWS_INDEX1_ID
private static final int[][] indexColumnPositions
private static final boolean[] uniqueness
private static final java.lang.String[] uuids
SYSVIEWSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException
makeRow
in class CatalogRowFactory
StandardException
- thrown on failurepublic TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException
buildDescriptor
in class CatalogRowFactory
row
- a SYSVIEWS rowparentTupleDescriptor
- Null for this kind of descriptor.dd
- dataDictionaryStandardException
- thrown on failurepublic SystemColumn[] buildColumnList() throws StandardException
buildColumnList
in class CatalogRowFactory
StandardException
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.