@InterfaceAudience.Private public class RowSpec extends Object
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_END_TIMESTAMP |
static long |
DEFAULT_START_TIMESTAMP |
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() |
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
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)
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-2016 The Apache Software Foundation. All Rights Reserved.