|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Schema
A Schema
is a collection of cubes, shared dimensions, and roles.
Method Summary | |
---|---|
Cube |
createCube(java.lang.String xml)
Creates a cube by parsing an XML string. |
Dimension |
createDimension(Cube cube,
java.lang.String xml)
Creates a dimension in the given cube by parsing an XML string. |
Cube[] |
getCubes()
Returns a list of all cubes in this schema. |
FunTable |
getFunTable()
Returns this schema's function table. |
java.lang.String |
getName()
Returns the name of this schema. |
Parameter[] |
getParameters()
Returns this schema's parameters. |
java.util.Date |
getSchemaLoadDate()
Returns when this schema was last loaded. |
SchemaReader |
getSchemaReader()
Creates a SchemaReader without any access control. |
Hierarchy[] |
getSharedHierarchies()
Returns a list of shared dimensions in this schema. |
java.util.List<java.lang.Exception> |
getWarnings()
Returns a list of warnings and errors that occurred while loading this schema. |
Cube |
lookupCube(java.lang.String cube,
boolean failIfNotFound)
Finds a cube called cube in this schema; if no cube
exists, failIfNotFound controls whether to raise an error
or return null . |
Role |
lookupRole(java.lang.String role)
Finds a role with a given name in the current catalog, or returns null if no such role exists. |
boolean |
removeCube(java.lang.String cubeName)
Removes a cube. |
Method Detail |
---|
java.lang.String getName()
Cube lookupCube(java.lang.String cube, boolean failIfNotFound)
cube
in this schema; if no cube
exists, failIfNotFound
controls whether to raise an error
or return null
.
Cube[] getCubes()
Hierarchy[] getSharedHierarchies()
Dimension createDimension(Cube cube, java.lang.String xml)
Cube createCube(java.lang.String xml)
boolean removeCube(java.lang.String cubeName)
SchemaReader getSchemaReader()
SchemaReader
without any access control.
Role lookupRole(java.lang.String role)
null
if no such role exists.
FunTable getFunTable()
Parameter[] getParameters()
java.util.Date getSchemaLoadDate()
java.util.List<java.lang.Exception> getWarnings()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |