public static class HGAbstractCompositeType.Projection extends Object implements HGProjection
| Constructor and Description |
|---|
HGAbstractCompositeType.Projection(String name,
HGHandle type) |
| 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.
|
public int[] getLayoutPath()
HGProjectionReturn 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.
getLayoutPath in interface HGProjectionpublic String getName()
HGProjectionReturn the name of the dimension that this projection represents.
getName in interface HGProjectionpublic HGHandle getType()
HGProjectionReturn the handle of the type of the dimension that this projection represents.
getType in interface HGProjectionpublic void inject(Object atomValue, Object value)
HGProjectionModify an atom's projections.
inject in interface HGProjectionatomValue - The value of the atom whose projection value is desired.public Object project(Object atomValue)
HGProjectionReturn the projection of the passed in value along the dimension represented by this object.
project in interface HGProjectionatomValue - The value of the atom whose projection value is desired.HGProjection.Copyright © 2015. All rights reserved.