|
|||||||||
| Home >> All >> org >> jdaemon >> [ era overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.jdaemon.era
Class AbstractCubeDirectory

java.lang.Objectorg.jdaemon.era.AbstractCubeDirectory
- All Implemented Interfaces:
- CubeDirectory
- public abstract class AbstractCubeDirectory
- extends java.lang.Object
- implements CubeDirectory
- extends java.lang.Object
Base implementation for cube directories Assumes an index of cubes exists on a given attribute set. Implements getCube and getValues in terms of abstract operations on this index. Note: At some stage this implementation should be extended to handle multiple indexes
| Constructor Summary | |
AbstractCubeDirectory()
|
|
| Method Summary | |
Cube |
getCube(CubeDirectoryPath path)
Get a Cube object for the given directory path. |
protected Cube |
getCube(CubeDirectoryPath path,
org.jdaemon.util.QuickList attributes,
org.jdaemon.util.QuickList bound_values)
Recursive implementation of getCube(path) Takes the given CubeDirectoryPath and composes a Cube by looking up sub-cubes with getCube(QuickList) and returning a union of the results |
protected abstract Cube |
getCube(org.jdaemon.util.QuickList bound_values)
|
abstract CubeDescriptor |
getCubeDescriptor()
Get metadata for the cubes contained by this Directory |
abstract java.util.List |
getKeyAttributes()
Get an iterator over the key attributes used by this directory |
java.util.Iterator |
getKeyValues(CubeDirectoryPath path,
java.lang.String attribute)
List all values of the given key attribute contained by this directory |
protected java.util.Iterator |
getKeyValues(CubeDirectoryPath path,
java.lang.String attribute,
org.jdaemon.util.QuickList attributes,
org.jdaemon.util.QuickList bound_values)
Recursive implementation of getKeyValues(path, attribute) Takes the given CubeDirectoryPath and composes an iterator over possible values of the key attribute. |
protected abstract java.util.Iterator |
getKeyValues(org.jdaemon.util.QuickList bound_values,
java.lang.String attr)
List all values of the given key attribute contained by this directory. |
CubeDirectoryPath |
getPath()
Create an AbstractDirectoryPath object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
AbstractCubeDirectory
public AbstractCubeDirectory()
| Method Detail |
getPath
public CubeDirectoryPath getPath()
- Create an AbstractDirectoryPath object.
- Specified by:
getPathin interfaceCubeDirectory
getCube
protected Cube getCube(CubeDirectoryPath path, org.jdaemon.util.QuickList attributes, org.jdaemon.util.QuickList bound_values)
- Recursive implementation of getCube(path)
Takes the given CubeDirectoryPath and composes a Cube by looking up sub-cubes with getCube(QuickList) and
returning a union of the results
getCube
public Cube getCube(CubeDirectoryPath path)
- Get a Cube object for the given directory path.
Takes the given CubeDirectoryPath and composes a Cube buy looking up sub-cubes with getCube(QuickList) and
creating compound cubes as appropriate. Implemented by the protected method getCube(path, attributes, values).
- Specified by:
getCubein interfaceCubeDirectory
getKeyValues
protected java.util.Iterator getKeyValues(CubeDirectoryPath path, java.lang.String attribute, org.jdaemon.util.QuickList attributes, org.jdaemon.util.QuickList bound_values)
- Recursive implementation of getKeyValues(path, attribute)
Takes the given CubeDirectoryPath and composes an iterator over possible values of the key attribute. An
attempt is made to prune values which are excluded by the constraints in the path.
getKeyValues
public java.util.Iterator getKeyValues(CubeDirectoryPath path, java.lang.String attribute)
- List all values of the given key attribute contained by this directory
- Specified by:
getKeyValuesin interfaceCubeDirectory
getCubeDescriptor
public abstract CubeDescriptor getCubeDescriptor()
- Get metadata for the cubes contained by this Directory
- Specified by:
getCubeDescriptorin interfaceCubeDirectory
getKeyAttributes
public abstract java.util.List getKeyAttributes()
- Get an iterator over the key attributes used by this directory
- Specified by:
getKeyAttributesin interfaceCubeDirectory
getKeyValues
protected abstract java.util.Iterator getKeyValues(org.jdaemon.util.QuickList bound_values, java.lang.String attr)
- List all values of the given key attribute contained by this directory.
getCube
protected abstract Cube getCube(org.jdaemon.util.QuickList bound_values)
|
|||||||||
| Home >> All >> org >> jdaemon >> [ era overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.jdaemon.era.AbstractCubeDirectory