public class SYSSTATEMENTSRowFactory extends CatalogRowFactory
| Modifier and Type | Field and Description |
|---|---|
private static int[][] |
indexColumnPositions |
static int |
SYSSTATEMENTS_COLUMN_COUNT |
static int |
SYSSTATEMENTS_COMPILATION_SCHEMAID |
static int |
SYSSTATEMENTS_CONSTANTSTATE |
static int |
SYSSTATEMENTS_HIDDEN_COLUMN_COUNT |
protected static int |
SYSSTATEMENTS_INDEX1_ID |
protected static int |
SYSSTATEMENTS_INDEX2_ID |
static int |
SYSSTATEMENTS_INITIALLY_COMPILABLE |
static int |
SYSSTATEMENTS_LASTCOMPILED |
static int |
SYSSTATEMENTS_SCHEMAID |
static int |
SYSSTATEMENTS_STMTID |
static int |
SYSSTATEMENTS_STMTNAME |
static int |
SYSSTATEMENTS_TEXT |
static int |
SYSSTATEMENTS_TYPE |
static int |
SYSSTATEMENTS_USINGTEXT |
static int |
SYSSTATEMENTS_VALID |
(package 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 |
|---|
SYSSTATEMENTSRowFactory(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 an Tuple Descriptor out of a SYSSTATEMENTS row
|
java.util.Properties |
getCreateHeapProperties()
Get the Properties associated with creating the heap.
|
ExecRow |
makeEmptyRow()
Return an empty row for this conglomerate.
|
ExecRow |
makeSYSSTATEMENTSrow(boolean compileMe,
SPSDescriptor spsDescriptor)
Make a SYSSTATEMENTS row.
|
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getCreateIndexProperties, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeRowstatic final java.lang.String TABLENAME_STRING
public static final int SYSSTATEMENTS_STMTID
public static final int SYSSTATEMENTS_STMTNAME
public static final int SYSSTATEMENTS_SCHEMAID
public static final int SYSSTATEMENTS_TYPE
public static final int SYSSTATEMENTS_VALID
public static final int SYSSTATEMENTS_TEXT
public static final int SYSSTATEMENTS_LASTCOMPILED
public static final int SYSSTATEMENTS_COMPILATION_SCHEMAID
public static final int SYSSTATEMENTS_USINGTEXT
public static final int SYSSTATEMENTS_CONSTANTSTATE
public static final int SYSSTATEMENTS_INITIALLY_COMPILABLE
public static final int SYSSTATEMENTS_COLUMN_COUNT
public static final int SYSSTATEMENTS_HIDDEN_COLUMN_COUNT
protected static final int SYSSTATEMENTS_INDEX1_ID
protected static final int SYSSTATEMENTS_INDEX2_ID
private static final int[][] indexColumnPositions
private static final boolean[] uniqueness
private static final java.lang.String[] uuids
SYSSTATEMENTSRowFactory(UUIDFactory uuidf, ExecutionFactory ef, DataValueFactory dvf)
public ExecRow makeSYSSTATEMENTSrow(boolean compileMe, SPSDescriptor spsDescriptor) throws StandardException
WARNING: When empty row is true, this method takes a snapshot of the SPSD and creates a row. It is imperative that that row remain consistent with the descriptor (the valid and StorablePreparedStatement fields must be in sync). If this row is to be written out and valid is true, then this call and the insert should be synchronized on the SPSD. This method has NO synchronization.
compileMe - passed into SPSDescriptorImpl.getPreparedStatement().
if true, we (re)compile the stmtspsDescriptor - In-memory tuple to be converted to a disk row.StandardException - thrown on failurepublic TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException
buildDescriptor in class CatalogRowFactoryrow - a SYSSTATEMENTS rowparentTupleDescriptor - unuseddd - dataDictionaryStandardException - thrown on failurepublic ExecRow makeEmptyRow() throws StandardException
CatalogRowFactorymakeEmptyRow in class CatalogRowFactoryStandardExceptionpublic SystemColumn[] buildColumnList() throws StandardException
buildColumnList in class CatalogRowFactoryStandardExceptionpublic java.util.Properties getCreateHeapProperties()
getCreateHeapProperties in class CatalogRowFactoryApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.