Constructor and Description |
---|
ColumnUpdate(byte[] cf,
byte[] cq,
byte[] cv,
boolean hasts,
long ts,
boolean deleted,
byte[] val)
Creates a new column update.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getColumnFamily()
Gets the column family for this update.
|
byte[] |
getColumnQualifier()
Gets the column qualifier for this update.
|
byte[] |
getColumnVisibility()
Gets the column visibility for this update.
|
long |
getTimestamp()
Gets the timestamp for this update.
|
byte[] |
getValue()
Gets the cell value for this update.
|
int |
hashCode() |
boolean |
hasTimestamp()
Gets whether this update specifies a timestamp.
|
boolean |
isDeleted()
Gets the delete marker for this update.
|
String |
toString() |
public ColumnUpdate(byte[] cf, byte[] cq, byte[] cv, boolean hasts, long ts, boolean deleted, byte[] val)
cf
- column familycq
- column qualifiercv
- column visibilityhasts
- true if the update specifies a timestampts
- timestampdeleted
- delete markerval
- cell valuepublic boolean hasTimestamp()
public byte[] getColumnFamily()
public byte[] getColumnQualifier()
public byte[] getColumnVisibility()
public long getTimestamp()
public boolean isDeleted()
public byte[] getValue()
Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.