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()
HGProjection
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.
getLayoutPath
in interface HGProjection
public String getName()
HGProjection
Return the name of the dimension that this projection represents.
getName
in interface HGProjection
public HGHandle getType()
HGProjection
Return the handle of the type of the dimension that this projection represents.
getType
in interface HGProjection
public void inject(Object atomValue, Object value)
HGProjection
Modify an atom's projections.
inject
in interface HGProjection
atomValue
- The value of the atom whose projection value is desired.public Object project(Object atomValue)
HGProjection
Return the projection of the passed in value along the dimension represented by this object.
project
in interface HGProjection
atomValue
- The value of the atom whose projection value is desired.HGProjection
.Copyright © 2015. All rights reserved.