public class TableUtil
extends java.lang.Object
Title: Dataspace Framework
Description: Dataspace underlying provider implementation
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
Constructor and Description |
---|
TableUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addAutoColumns(Table table,
com.streamscape.ds.types.Type[] colTypes) |
static void |
addColumn(Table t,
java.lang.String name,
com.streamscape.ds.types.Type type) |
static void |
addColumn(Table t,
java.lang.String name,
com.streamscape.ds.types.Type type,
boolean nullable) |
static void |
addIdentityColumn(Table t,
java.lang.String name,
com.streamscape.ds.types.Type type) |
static Table |
newSingleColumnTable(DataspaceStore database,
NameManager.ObjectName tableName,
int tableType,
NameManager.ObjectName colName,
com.streamscape.ds.types.Type colType) |
static Table |
newTable(DataspaceStore database,
int type,
NameManager.ObjectName tableHsqlName) |
static Table |
newVirtualTable(DataspaceStore database,
NameManager.ObjectName tableHsqlName,
VirtualTable.VirtualTableHelper helper,
int dataCacheModel) |
static void |
setColumnsInSchemaTable(Table table,
NameManager.ObjectName[] columnNames,
com.streamscape.ds.types.Type[] columnTypes) |
static void |
setTableIndexesForSubquery(Table table,
boolean fullIndex,
boolean uniqueRows) |
public static Table newSingleColumnTable(DataspaceStore database, NameManager.ObjectName tableName, int tableType, NameManager.ObjectName colName, com.streamscape.ds.types.Type colType)
public static Table newTable(DataspaceStore database, int type, NameManager.ObjectName tableHsqlName)
public static Table newVirtualTable(DataspaceStore database, NameManager.ObjectName tableHsqlName, VirtualTable.VirtualTableHelper helper, int dataCacheModel)
public static void setTableIndexesForSubquery(Table table, boolean fullIndex, boolean uniqueRows)
public static void addAutoColumns(Table table, com.streamscape.ds.types.Type[] colTypes)
public static void setColumnsInSchemaTable(Table table, NameManager.ObjectName[] columnNames, com.streamscape.ds.types.Type[] columnTypes)
public static void addColumn(Table t, java.lang.String name, com.streamscape.ds.types.Type type)
public static void addColumn(Table t, java.lang.String name, com.streamscape.ds.types.Type type, boolean nullable)
public static void addIdentityColumn(Table t, java.lang.String name, com.streamscape.ds.types.Type type)
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.