org.apache.hadoop.hbase.rest
Class RowSpec
java.lang.Object
org.apache.hadoop.hbase.rest.RowSpec
public class RowSpec
- extends java.lang.Object
Parses a path based row/column/timestamp specification into its component
elements.
|
Constructor Summary |
RowSpec(byte[] startRow,
byte[] endRow,
byte[][] columns,
long startTime,
long endTime,
int maxVersions)
|
RowSpec(byte[] startRow,
byte[] endRow,
java.util.Collection<byte[]> columns,
long startTime,
long endTime,
int maxVersions)
|
RowSpec(java.lang.String path)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_START_TIMESTAMP
public static final long DEFAULT_START_TIMESTAMP
- See Also:
- Constant Field Values
DEFAULT_END_TIMESTAMP
public static final long DEFAULT_END_TIMESTAMP
- See Also:
- Constant Field Values
RowSpec
public RowSpec(java.lang.String path)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
RowSpec
public RowSpec(byte[] startRow,
byte[] endRow,
byte[][] columns,
long startTime,
long endTime,
int maxVersions)
RowSpec
public RowSpec(byte[] startRow,
byte[] endRow,
java.util.Collection<byte[]> columns,
long startTime,
long endTime,
int maxVersions)
isSingleRow
public boolean isSingleRow()
getMaxVersions
public int getMaxVersions()
setMaxVersions
public void setMaxVersions(int maxVersions)
getMaxValues
public int getMaxValues()
setMaxValues
public void setMaxValues(int maxValues)
hasColumns
public boolean hasColumns()
getRow
public byte[] getRow()
getStartRow
public byte[] getStartRow()
hasEndRow
public boolean hasEndRow()
getEndRow
public byte[] getEndRow()
addColumn
public void addColumn(byte[] column)
getColumns
public byte[][] getColumns()
hasTimestamp
public boolean hasTimestamp()
getTimestamp
public long getTimestamp()
getStartTime
public long getStartTime()
setStartTime
public void setStartTime(long startTime)
getEndTime
public long getEndTime()
setEndTime
public void setEndTime(long endTime)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.