Modifier and Type | Field and Description |
---|---|
private TreeSet<byte[]> |
columns |
static long |
DEFAULT_END_TIMESTAMP |
static long |
DEFAULT_START_TIMESTAMP |
private byte[] |
endRow |
private long |
endTime |
private List<String> |
labels |
private int |
maxValues |
private int |
maxVersions |
private byte[] |
row |
private long |
startTime |
Constructor and Description |
---|
RowSpec(byte[] startRow,
byte[] endRow,
byte[][] columns,
long startTime,
long endTime,
int maxVersions) |
RowSpec(byte[] startRow,
byte[] endRow,
Collection<byte[]> columns,
long startTime,
long endTime,
int maxVersions) |
RowSpec(byte[] startRow,
byte[] endRow,
Collection<byte[]> columns,
long startTime,
long endTime,
int maxVersions,
Collection<String> labels) |
RowSpec(String path) |
Modifier and Type | Method and Description |
---|---|
void |
addColumn(byte[] column) |
byte[][] |
getColumns() |
byte[] |
getEndRow() |
long |
getEndTime() |
List<String> |
getLabels() |
int |
getMaxValues() |
int |
getMaxVersions() |
byte[] |
getRow() |
byte[] |
getStartRow() |
long |
getStartTime() |
long |
getTimestamp() |
boolean |
hasColumns() |
boolean |
hasEndRow() |
boolean |
hasLabels() |
boolean |
hasTimestamp() |
boolean |
isSingleRow() |
private int |
parseColumns(String path,
int i) |
private int |
parseQueryParams(String path,
int i) |
private int |
parseRowKeys(String path,
int i) |
private int |
parseTimestamp(String path,
int i) |
void |
setEndTime(long endTime) |
void |
setMaxValues(int maxValues) |
void |
setMaxVersions(int maxVersions) |
void |
setStartTime(long startTime) |
String |
toString() |
public static final long DEFAULT_START_TIMESTAMP
public static final long DEFAULT_END_TIMESTAMP
private byte[] row
private byte[] endRow
private long startTime
private long endTime
private int maxVersions
private int maxValues
public RowSpec(String path) throws IllegalArgumentException
IllegalArgumentException
public RowSpec(byte[] startRow, byte[] endRow, byte[][] columns, long startTime, long endTime, int maxVersions)
public RowSpec(byte[] startRow, byte[] endRow, Collection<byte[]> columns, long startTime, long endTime, int maxVersions, Collection<String> labels)
public RowSpec(byte[] startRow, byte[] endRow, Collection<byte[]> columns, long startTime, long endTime, int maxVersions)
private int parseRowKeys(String path, int i) throws IllegalArgumentException
IllegalArgumentException
private int parseColumns(String path, int i) throws IllegalArgumentException
IllegalArgumentException
private int parseTimestamp(String path, int i) throws IllegalArgumentException
IllegalArgumentException
private int parseQueryParams(String path, int i)
public boolean isSingleRow()
public int getMaxVersions()
public void setMaxVersions(int maxVersions)
public int getMaxValues()
public void setMaxValues(int maxValues)
public boolean hasColumns()
public boolean hasLabels()
public byte[] getRow()
public byte[] getStartRow()
public boolean hasEndRow()
public byte[] getEndRow()
public void addColumn(byte[] column)
public byte[][] getColumns()
public boolean hasTimestamp()
public long getTimestamp()
public long getStartTime()
public void setStartTime(long startTime)
public long getEndTime()
public void setEndTime(long endTime)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.