|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RtaSchema
This is a logical collection of all related metrics artifacts like cubes and dimensions.
A 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.
| Method Summary | ||
|---|---|---|
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 |
|
|
getCube(java.lang.String name)
Gets a cube in this schema with this name or null if no such cube exists. |
|
|
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 |
|
|
getMeasurement(java.lang.String name)
TODO documentation |
|
|
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. |
|
| Methods inherited from interface com.tibco.rta.model.MetadataElement |
|---|
getDescription, getName, getOwnerSchema, getProperty, getPropertyNames, serialize |
| Method Detail |
|---|
java.util.Collection<Attribute> getAttributes()
Attribute getAttribute(java.lang.String name)
name - The name to search
java.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 MetadataElement
java.lang.String toXML()
throws java.lang.Exception
java.lang.Exceptionboolean isSystemSchema()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||