public abstract class AbstractSnapshotBase extends Object implements SnapshotBase
Constructor and Description |
---|
AbstractSnapshotBase() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, get, get, get, getStartTimestamp, scanner
public Bytes get(Bytes row, Column column, Bytes defaultValue)
SnapshotBase
Bytes
) stored at a given row and Column
. Returns the
passed in defaultValue if does not exist.get
in interface SnapshotBase
defaultValue
- this will be returned if row+columns does not existspublic Map<Column,Bytes> get(Bytes row, Column... columns)
SnapshotBase
Column
s, retrieves a map that contains the values at those
Column
s. Only columns that exist will be returned in map.get
in interface SnapshotBase
public Map<Bytes,Map<Column,Bytes>> get(Collection<Bytes> rows, Column... columns)
SnapshotBase
Column
s, retrieves a map that contains the
values at those rows and Column
s. Only rows and columns that exists will be returned in
map.get
in interface SnapshotBase
public Map<RowColumn,String> gets(Collection<RowColumn> rowColumns)
SnapshotBase
SnapshotBase.get(Collection)
that uses Strings. All strings are encoded and decoded
using UTF-8.gets
in interface SnapshotBase
public Map<String,Map<Column,String>> gets(Collection<? extends CharSequence> rows, Set<Column> columns)
SnapshotBase
SnapshotBase.get(Collection, Set)
that uses Strings. All strings are encoded and
decoded using UTF-8.gets
in interface SnapshotBase
public Map<String,Map<Column,String>> gets(Collection<? extends CharSequence> rows, Column... columns)
SnapshotBase
SnapshotBase.get(Collection, Set)
that uses Strings. All strings are encoded and
decoded using UTF-8.gets
in interface SnapshotBase
public String gets(CharSequence row, Column column)
SnapshotBase
SnapshotBase.get(Bytes, Column)
that uses Strings. All strings are encoded and decoded
using UTF-8.gets
in interface SnapshotBase
public String gets(CharSequence row, Column column, String defaultValue)
SnapshotBase
SnapshotBase.get(Bytes, Column, Bytes)
that uses Strings. All strings are encoded and
decoded using UTF-8.gets
in interface SnapshotBase
public Map<Column,String> gets(CharSequence row, Set<Column> columns)
SnapshotBase
SnapshotBase.get(Bytes, Set)
that uses Strings. All strings are encoded and decoded
using UTF-8.gets
in interface SnapshotBase
public Map<Column,String> gets(CharSequence row, Column... columns)
SnapshotBase
SnapshotBase.get(Bytes, Set)
that uses Strings. All strings are encoded and decoded
using UTF-8.gets
in interface SnapshotBase
Copyright © 2016 The Apache Software Foundation. All rights reserved.