public class VirtualTable extends Table
Title: Dataspace Framework
Description: Dataspace underlying provider implementation
Copyright: Copyright (c) 2017
Company: StreamScape Technologies
Modifier and Type | Class and Description |
---|---|
static interface |
VirtualTable.VirtualTableHelper |
SchemaObject.ConstraintTypes, SchemaObject.Deferable, SchemaObject.Nullability, SchemaObject.ParameterModes, SchemaObject.ReferentialAction, SchemaObject.ViewCheckModes
Modifier and Type | Field and Description |
---|---|
VirtualTable.VirtualTableHelper |
helper |
checkConstraints, colDefaults, colGenerated, columnList, defaultRanges, dfetchMonitor, emptyArray, emptyCollectionArray, fkConstraints, fkMainConstraints, identityColumn, identitySequence, tableSchemaChangeTimestamp, triggerList, triggerLists
CHANGE_SET_TABLE, colTypes, columnCount, database, fullIndex, FUNCTION_TABLE, INFO_SCHEMA_TABLE, isSessionBased, isTemp, isView, JOURNAL_FILE_QUEUE, LOGGED_TABLE, MEMORY_TABLE, persistenceId, persistenceScope, PERSISTENT_TABLE, RESULT_TABLE, SCOPE_FULL, SCOPE_SESSION, SCOPE_STATEMENT, SCOPE_TRANSACTION, SEMAGRAPH, SNAPSHOT, store, SYSTEM_SUBQUERY, SYSTEM_TABLE, TEMP_TEXT_TABLE, TEXT_TABLE, TRANSIENT_TABLE, TRANSITION_TABLE, VIEW_TABLE
ACTOR, ASPECTS, ASSERTION, CATALOG, CHARSET, COLLATION, COLLECTION, COLUMN, CONNECTION_FACTORY, CONSTRAINT, CURSOR, DOMAIN, EVENT_PROTOTYPE, FACETS, FILE_DESCRIPTOR, FULL_TEXT_INDEX, FUNCTION, GRANTEE, INDEX, JOB, LABEL, PARAMETER, PROCEDURE, REFERENCE_LINK, REPLICA, REPLICATION_SOURCE, ROUTINE, SCHEMA, SEMANTIC_TYPE, SEQUENCE, SERVER, SPECIFIC_ROUTINE, SUBQUERY, TABLE, TIMER, TRANSIENT_VAR, TRANSITION, TRIGGER, TYPE, VARIABLE, VIEW, WRAPPER
Constructor and Description |
---|
VirtualTable(DataspaceStore database,
NameManager.ObjectName name,
VirtualTable.VirtualTableHelper helper,
int storeType) |
Modifier and Type | Method and Description |
---|---|
void |
compile(com.streamscape.ds.session.Session session,
SchemaObject parentObject) |
com.streamscape.ds.result.Result |
executeExternalUpdate(com.streamscape.ds.session.Session session,
java.lang.String sql,
java.lang.Object[] data,
int[] jdbcTypes) |
int |
findColumn(java.lang.String name)
Returns the index of given column name or -1 if not found.
|
CollectionType |
getCollectionType() |
com.streamscape.ds.persist.PersistentStore |
getRowStore(com.streamscape.ds.session.Session session)
Path used for INFORMATION_SCHEMA tables
|
boolean |
hasParameter(java.lang.String name) |
void |
insertIntoExternal(com.streamscape.ds.session.Session session,
java.lang.Object[] data,
int[] jdbcTypes) |
void |
materialize(com.streamscape.ds.session.Session session) |
void |
setCollectionType(CollectionType directoryTable) |
void |
setDataReadOnly(boolean value) |
addColumn, addColumnNoCheck, addConstraint, addFullTextIndex, addTrigger, addTriggerSQL, checkDataReadOnly, clearAllData, clearAllData, collectFKReadLocks, collectFKWriteLocks, compareRows, convertColumnListToRowMetaData, createIndexForColumns, createPrimaryKey, createPrimaryKey, createPrimaryKeyConstraint, dropReplicationSource, enforceRowConstraints, enforceTypeLimits, fireTriggers, fireTriggers, fireTriggers, fireWindowTriggers, getBaseTable, getBaseTableColumnMap, getBestRowIdentifiers, getCatalogName, getChangeTimestamp, getClusteredIndex, getColumn, getColumn, getColumnCheckList, getColumnIndex, getColumnIndexes, getColumnIndexes, getColumnListSQL, getColumnListWithTypeSQL, getColumnMap, getColumnNameList, getColumnNames, getColumnNameSet, getColumnNameSet, getColumnNameSet, getCommentsSQL, getComponents, getConstraint, getConstraints, getDeleteRowFromLog, getDependentExternalConstraints, getFKConstraints, getFullIndexForColumns, getFullTextIndexes, getId, getIdentityColumnIndex, getIndex, getIndexForColumn, getIndexForColumns, getIndexForColumns, getIndexRootsArray, getIndexRootsSQL, getNewRowData, getNextIdentity, getNotNullConstraintForColumn, getObjectName, getObjectType, getOwner, getPrimaryConstraint, getQueryExpression, getReferences, getReferencesForDependents, getReplicationSource, getRowMetaData, getSchemaName, getSQL, getSQL, getSQL, getSQLForClustered, getSQLForCollection, getSQLForReadOnly, getSQLForTextSource, getSubQuery, getTrigger, getTriggerIndex, getTriggers, getUniqueConstraintForColumns, getUniqueConstraintForIndex, getUniqueNotNullColumnGroup, getUniqueOrPKConstraintForIndex, getUniquePKConstraintNames, getUpdatableColumns, hasForeignKey, hasGeneratedColumn, hasIdentityColumn, indexTypeForColumn, insertData, insertFromScript, insertIntoTable, insertNoCheckFromLog, insertResult, insertSingleRow, insertSingleRowForUpdate, insertSys, insertSys, isBestRowIdentifiersStrict, isCached, isConnected, isDataReadOnly, isFileBased, isInsertable, isMemory, isReadOnly, isReplicated, isSchemaBaseTable, isSnapshot, isTemp, isText, isTriggerDeletable, isTriggerInsertable, isTriggerUpdatable, isUpdatable, isView, isWritable, releaseTriggers, removeConstraint, removeConstraint, removeFullTextIndex, removeTrigger, renameColumn, rowIteratorClustered, rowIteratorClustered, setColumnStructures, setColumnTypeVars, setGeneratedColumns, setIdentityColumn, setIndexRoots, setIndexRoots, setName, setReplicationSource, systemSetIdentityColumn, updateTriggersOrderAndRemoveNulls, verifyConstraintsIntegrity
createAndAddIndexStructure, createIndex, createIndexStructure, createPrimaryIndex, dropIndex, duplicate, getColumnCount, getColumnTypes, getDataColumnCount, getDataScopeString, getEmptyRowData, getFullIndex, getIndex, getIndexCount, getIndexList, getNewColumnCheckList, getPersistenceId, getPrimaryIndex, getPrimaryKey, getPrimaryKeyTypes, getSampleCount, getSampleCountAsString, getTableType, hasLobColumn, hasPrimaryKey, isDropped, isEmpty, isLogged, isTransactional, onCommitPreserve, releaseRowStore, rowIterator, rowIterator, setBestRowIdentifiers, setDropped, setHasLobColumn, setIndexes, setTransactional
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aggregateObjectStateHolder, getSQLInSchema, recompileObject
public VirtualTable.VirtualTableHelper helper
public VirtualTable(DataspaceStore database, NameManager.ObjectName name, VirtualTable.VirtualTableHelper helper, int storeType)
public void compile(com.streamscape.ds.session.Session session, SchemaObject parentObject)
compile
in interface SchemaObject
compile
in class Table
public void insertIntoExternal(com.streamscape.ds.session.Session session, java.lang.Object[] data, int[] jdbcTypes)
public com.streamscape.ds.result.Result executeExternalUpdate(com.streamscape.ds.session.Session session, java.lang.String sql, java.lang.Object[] data, int[] jdbcTypes)
public com.streamscape.ds.persist.PersistentStore getRowStore(com.streamscape.ds.session.Session session)
Table
getRowStore
in class Table
public void materialize(com.streamscape.ds.session.Session session)
public boolean hasParameter(java.lang.String name)
public void setDataReadOnly(boolean value)
setDataReadOnly
in class Table
public int findColumn(java.lang.String name)
Table
findColumn
in class Table
public CollectionType getCollectionType()
public void setCollectionType(CollectionType directoryTable)
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.