Package com.tonic.analysis.query.eval
Class AttributeRegistry.Entry
- java.lang.Object
-
- com.tonic.analysis.query.eval.AttributeRegistry.Entry
-
- Enclosing class:
- AttributeRegistry
public static final class AttributeRegistry.Entry extends Object
A registered resolver: exactly one ofscalar/streamis non-null.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisStream()AttributeRegistry.Attributescalar()AttributeRegistry.Selectorstream()
-
-
-
Method Detail
-
isStream
public boolean isStream()
- Returns:
- true if this entry expands into sub-subjects rather than a scalar
-
scalar
public AttributeRegistry.Attribute scalar()
- Returns:
- the scalar resolver, or null if this entry is a stream
-
stream
public AttributeRegistry.Selector stream()
- Returns:
- the sub-subject expansion, or null if this entry is scalar
-
-