public abstract class ColumnSubselection extends java.lang.Object implements java.lang.Comparable<ColumnSubselection>
This only make sense for complex column. For those, this allow for instance to select only a slice of a map.
Modifier and Type | Class and Description |
---|---|
static class |
ColumnSubselection.Serializer |
Modifier and Type | Field and Description |
---|---|
protected ColumnDefinition |
column |
static ColumnSubselection.Serializer |
serializer |
Modifier | Constructor and Description |
---|---|
protected |
ColumnSubselection(ColumnDefinition column) |
Modifier and Type | Method and Description |
---|---|
ColumnDefinition |
column() |
abstract int |
compareInclusionOf(CellPath path)
Given a path, return -1 if the path is before anything selected by this subselection, 0 if it is selected by this
subselection and 1 if the path is after anything selected by this subselection.
|
int |
compareTo(ColumnSubselection other) |
protected abstract CellPath |
comparisonPath() |
static ColumnSubselection |
element(ColumnDefinition column,
CellPath elt) |
protected abstract org.apache.cassandra.db.filter.ColumnSubselection.Kind |
kind() |
static ColumnSubselection |
slice(ColumnDefinition column,
CellPath from,
CellPath to) |
public static final ColumnSubselection.Serializer serializer
protected final ColumnDefinition column
protected ColumnSubselection(ColumnDefinition column)
public static ColumnSubselection slice(ColumnDefinition column, CellPath from, CellPath to)
public static ColumnSubselection element(ColumnDefinition column, CellPath elt)
public ColumnDefinition column()
protected abstract org.apache.cassandra.db.filter.ColumnSubselection.Kind kind()
protected abstract CellPath comparisonPath()
public int compareTo(ColumnSubselection other)
compareTo
in interface java.lang.Comparable<ColumnSubselection>
public abstract int compareInclusionOf(CellPath path)
Copyright © 2020 The Apache Software Foundation