org.apache.derby.impl.sql.catalog
Class SYSCONGLOMERATESRowFactory
- java.lang.Object
-
- org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
-
- org.apache.derby.impl.sql.catalog.SYSCONGLOMERATESRowFactory
-
public class SYSCONGLOMERATESRowFactory extends CatalogRowFactory
Factory for creating a SYSCONGLOMERATES row.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description SystemColumn[]buildColumnList()Builds a list of columns suitable for creating this Catalog.TupleDescriptorbuildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd)builds a tuple descriptor from a rowjava.util.PropertiesgetCreateHeapProperties()Get the Properties associated with creating the heap.java.util.PropertiesgetCreateIndexProperties(int indexNumber)Get the Properties associated with creating the specified index.ExecRowmakeEmptyRow()Return an empty row for this conglomerate.ExecRowmakeRow(TupleDescriptor td, TupleDescriptor parent)Make a SYSCONGLOMERATES row-
Methods inherited from class org.apache.derby.iapi.sql.dictionary.CatalogRowFactory
generateIndexName, getCanonicalHeapName, getCanonicalHeapUUID, getCanonicalIndexUUID, getCanonicalTableUUID, getCatalogName, getDataValueFactory, getExecutionFactory, getHeapColumnCount, getIndexColumnCount, getIndexColumnPositions, getIndexName, getNumIndexes, getPrimaryKeyIndexNumber, getUUIDFactory, initInfo, isIndexUnique, makeEmptyRowForCurrentVersion
-
-
-
-
Method Detail
-
makeRow
public ExecRow makeRow(TupleDescriptor td, TupleDescriptor parent) throws StandardException
Make a SYSCONGLOMERATES row- Overrides:
makeRowin classCatalogRowFactory- Returns:
- Row suitable for inserting into SYSCONGLOMERATES.
- Throws:
StandardException- thrown on failure
-
makeEmptyRow
public ExecRow makeEmptyRow() throws StandardException
Description copied from class:CatalogRowFactoryReturn an empty row for this conglomerate.- Overrides:
makeEmptyRowin classCatalogRowFactory- Throws:
StandardException
-
getCreateHeapProperties
public java.util.Properties getCreateHeapProperties()
Get the Properties associated with creating the heap.- Overrides:
getCreateHeapPropertiesin classCatalogRowFactory- Returns:
- The Properties associated with creating the heap.
-
getCreateIndexProperties
public java.util.Properties getCreateIndexProperties(int indexNumber)
Get the Properties associated with creating the specified index.- Overrides:
getCreateIndexPropertiesin classCatalogRowFactory- Parameters:
indexNumber- The specified index number.- Returns:
- The Properties associated with creating the specified index.
-
buildDescriptor
public TupleDescriptor buildDescriptor(ExecRow row, TupleDescriptor parentTupleDescriptor, DataDictionary dd) throws StandardException
Description copied from class:CatalogRowFactorybuilds a tuple descriptor from a row- Specified by:
buildDescriptorin classCatalogRowFactory- Parameters:
row- a SYSCOLUMNS rowparentTupleDescriptor- Null for this kind of descriptor.dd- dataDictionary- Returns:
- a conglomerate descriptor equivalent to a SYSCONGOMERATES row
- Throws:
StandardException- thrown on failure
-
buildColumnList
public SystemColumn[] buildColumnList() throws StandardException
Builds a list of columns suitable for creating this Catalog.- Specified by:
buildColumnListin classCatalogRowFactory- Returns:
- array of SystemColumn suitable for making this catalog.
- Throws:
StandardException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG