public interface RtaSchema extends MetadataElement
RtaSchema can have multiple Cubes.
Each Cube defines a Measurement and one or more DimensionHierarchys
Each DimensionHierarchy has an ordered list of Dimensions.
A Dimension is the attribute of the measurement over which a metric is aggregated.
| Modifier and Type | Method and Description |
|---|---|
Fact |
createFact()
Create a new fact and associate it with this measurement.
|
Fact |
createFact(java.lang.String uid)
Create a new fact and associate it with this measurement.
|
Attribute |
getAttribute(java.lang.String name)
Gets the attribute in this measurement with this name.
|
java.util.Collection<Attribute> |
getAttributes()
Gets the attributes associated with this measurement
|
<T extends Cube> |
getCube(java.lang.String name)
Gets a cube in this schema with this name or null if no such cube exists.
|
<T extends Cube> |
getCubes()
Gets all the cubes in the schema.
|
Dimension |
getDimension(java.lang.String name)
Gets the dimension in this measurement with this name.
|
java.util.Collection<Dimension> |
getDimensions()
Gets the dimensions associated with this measurement
|
java.lang.String |
getDisplayName()
get display name of schema
|
<T extends Measurement> |
getMeasurement(java.lang.String name)
TODO documentation
|
<T extends Measurement> |
getMeasurements()
TODO documentation
|
java.util.Collection<RetentionPolicy> |
getRetentionPolicies()
TODO add documentation.
|
long |
getVersion()
TODO Add documentation.
|
boolean |
isSystemSchema()
whether this schema is system schema or not
|
java.lang.String |
toXML()
Convert this schema object to XML.
|
getDescription, getName, getOwnerSchema, getProperty, getPropertyNames, serializejava.util.Collection<Attribute> getAttributes()
Attribute getAttribute(java.lang.String name)
name - The name to searchjava.util.Collection<Dimension> getDimensions()
Dimension getDimension(java.lang.String name)
name - The name to search<T extends Measurement> java.util.Collection<T> getMeasurements()
T - <T extends Measurement> T getMeasurement(java.lang.String name)
T - name - <T extends Cube> java.util.Collection<T> getCubes()
<T extends Cube> T getCube(java.lang.String name)
name - The name to search for.long getVersion()
Fact createFact()
Fact createFact(java.lang.String uid)
uid - : A unique identifier for fact key.
If null or empty value is passed, a uid is generated.java.util.Collection<RetentionPolicy> getRetentionPolicies()
java.lang.String getDisplayName()
getDisplayName in interface MetadataElementjava.lang.String toXML()
throws java.lang.Exception
java.lang.Exceptionboolean isSystemSchema()
Copyright © 2000-2014 TIBCO Inc. All Rights Reserved.