| Constructor and Description | 
|---|
SegmentAxis(StarColumnPredicate predicate,
           SortedSet<Comparable> keySet,
           boolean hasNull)
Creates a SegmentAxis populated with a set of key values. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getMatchCount(StarColumnPredicate predicate)
Returns how many of this SegmentAxis's keys match a given constraint. 
 | 
Pair<SortedSet<Comparable>,Boolean> | 
getValuesAndIndicator()  | 
boolean | 
wouldContain(Object key)
Returns whether this axis contains a given key, or would contain it
 if it existed. 
 | 
public SegmentAxis(StarColumnPredicate predicate, SortedSet<Comparable> keySet, boolean hasNull)
predicate - Predicate defining which keys should appear on
                  axis. (If a key passes the predicate but
                  is not in the list, every cell with that
                  key is assumed to have a null value.)keySet - Set of distinct key values, sortedhasNull - Whether the axis contains the null value, in addition
                 to the values in valueSetpublic final boolean wouldContain(Object key)
For example, if this axis is unconstrained, then this method
 returns true for any value.
key - Keykeypublic int getMatchCount(StarColumnPredicate predicate)
predicate - Predicatepublic Pair<SortedSet<Comparable>,Boolean> getValuesAndIndicator()
Copyright © 2017 Hitachi Vantara. All rights reserved.