com.espertech.esper.view.stat.olap
Class DimensionImpl

java.lang.Object
  extended by com.espertech.esper.view.stat.olap.DimensionImpl
All Implemented Interfaces:
MetaDefItem, Dimension, Serializable

public final class DimensionImpl
extends Object
implements Dimension, MetaDefItem

Implements the dimension interface. Hold the data required for serving up dimension data.

See Also:
Serialized Form

Constructor Summary
DimensionImpl(String[] propertyNames)
          Constructor.
 
Method Summary
 DimensionMember[] getMembers()
          Returns the member values for the dimension.
 String[] getPropertyNames()
          Returns the event property name or names providing the member values for the dimension.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DimensionImpl

public DimensionImpl(String[] propertyNames)
Constructor.

Parameters:
propertyNames - is the names of the event properties making up the dimension
Method Detail

getPropertyNames

public final String[] getPropertyNames()
Description copied from interface: Dimension
Returns the event property name or names providing the member values for the dimension.

Specified by:
getPropertyNames in interface Dimension
Returns:
array of property names

getMembers

public final DimensionMember[] getMembers()
Description copied from interface: Dimension
Returns the member values for the dimension.

Specified by:
getMembers in interface Dimension
Returns:
array of members

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com