public class RoutineSchema extends java.lang.Object implements SchemaObject
Title: Dataspace Framework
Description: Dataspace underlying provider implementation
Copyright: Copyright (c) 2010
Company: StreamScape Technologies
SchemaObject.ConstraintTypes, SchemaObject.Deferable, SchemaObject.Nullability, SchemaObject.ParameterModes, SchemaObject.ReferentialAction, SchemaObject.ViewCheckModes
Modifier and Type | Field and Description |
---|---|
RplScript[] |
routines |
ACTOR, ASPECTS, ASSERTION, CATALOG, CHARSET, COLLATION, COLLECTION, COLUMN, CONNECTION_FACTORY, CONSTRAINT, CURSOR, DOMAIN, emptyArray, 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 |
---|
RoutineSchema(int type,
NameManager.ObjectName name) |
Modifier and Type | Method and Description |
---|---|
void |
addSpecificRoutine(DataspaceStore database,
RplScript routine) |
void |
compile(com.streamscape.ds.session.Session session,
SchemaObject parentObject) |
static java.lang.Object |
executeInDataspace(com.streamscape.ds.session.Session session,
NameManager.ObjectName schemaName,
java.util.function.Function function) |
NameManager.ObjectName |
getCatalogName() |
long |
getChangeTimestamp() |
com.streamscape.ds.lib.OrderedHashSet |
getComponents() |
NameManager.ObjectName |
getObjectName() |
int |
getObjectType() |
com.streamscape.ds.rights.Grantee |
getOwner() |
com.streamscape.ds.lib.OrderedHashSet |
getReferences() |
NameManager.ObjectName |
getSchemaName() |
RplScript |
getSpecificRoutine(int paramCount) |
RplScript |
getSpecificRoutine(com.streamscape.ds.types.Type[] types) |
RplScript[] |
getSpecificRoutines() |
java.lang.String |
getSQL() |
java.lang.String |
getSQL(java.lang.String name) |
java.lang.String[] |
getSQLArray() |
java.lang.String[] |
getSQLArray(java.lang.String schemaName) |
boolean |
isAggregate() |
void |
recompileFunction(com.streamscape.ds.session.Session session) |
void |
removeSpecificRoutine(RplScript routine) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
aggregateObjectStateHolder, getSQLInSchema, recompileObject
public RplScript[] routines
public RoutineSchema(int type, NameManager.ObjectName name)
public int getObjectType()
getObjectType
in interface SchemaObject
public NameManager.ObjectName getCatalogName()
getCatalogName
in interface SchemaObject
public NameManager.ObjectName getSchemaName()
getSchemaName
in interface SchemaObject
public NameManager.ObjectName getObjectName()
getObjectName
in interface SchemaObject
public com.streamscape.ds.rights.Grantee getOwner()
getOwner
in interface SchemaObject
public com.streamscape.ds.lib.OrderedHashSet getReferences()
getReferences
in interface SchemaObject
public com.streamscape.ds.lib.OrderedHashSet getComponents()
getComponents
in interface SchemaObject
public void compile(com.streamscape.ds.session.Session session, SchemaObject parentObject)
compile
in interface SchemaObject
public java.lang.String getSQL()
getSQL
in interface SchemaObject
public java.lang.String getSQL(java.lang.String name)
getSQL
in interface SchemaObject
public long getChangeTimestamp()
getChangeTimestamp
in interface SchemaObject
public java.lang.String[] getSQLArray(java.lang.String schemaName)
public java.lang.String[] getSQLArray()
public void addSpecificRoutine(DataspaceStore database, RplScript routine)
public void removeSpecificRoutine(RplScript routine)
public RplScript[] getSpecificRoutines()
public RplScript getSpecificRoutine(com.streamscape.ds.types.Type[] types)
public RplScript getSpecificRoutine(int paramCount)
public boolean isAggregate()
public void recompileFunction(com.streamscape.ds.session.Session session)
public static java.lang.Object executeInDataspace(com.streamscape.ds.session.Session session, NameManager.ObjectName schemaName, java.util.function.Function function)
Copyright © 2015-2024 StreamScape Technologies. All rights reserved.