public interface HGProjection
A HGProjection
represents a dimension of a composite type. The defining properties
of a projection are its name and its type. A composite type may have several projections with
the same name as long as they are of different types.
Modifier and Type | Method and Description |
---|---|
int[] |
getLayoutPath()
Return the layout path in the
HGStore from the composite
value to the value along this dimension. |
String |
getName()
Return the name of the dimension that this projection represents.
|
HGHandle |
getType()
Return the handle of the type of the dimension that this projection represents.
|
void |
inject(Object atomValue,
Object value)
Modify an atom's projections.
|
Object |
project(Object atomValue)
Return the projection of the passed in value along the dimension
represented by this object.
|
String getName()
Return the name of the dimension that this projection represents.
HGHandle getType()
Return the handle of the type of the dimension that this projection represents.
int[] getLayoutPath()
Return the layout path in the HGStore
from the composite
value to the value along this dimension. May return null
if the
precise layout is not know, or not well-defined.
Object project(Object atomValue)
Return the projection of the passed in value along the dimension represented by this object.
atomValue
- The value of the atom whose projection value is desired.HGProjection
.Copyright © 2015. All rights reserved.