Modifier and Type | Method and Description |
---|---|
AnyScan |
AnyScan.addColumn(byte[] family,
byte[] qualifier)
Adds the column.
|
AnyScan |
AnyScan.addColumn(String family,
String qualifier)
Adds the column.
|
AnyScan |
AnyScan.addFamily(byte[] family)
Adds the family.
|
AnyScan |
AnyScan.addFamily(String family)
Adds the family.
|
static AnyScan |
AnyScan.create()
Creates the.
|
static AnyScan |
AnyScan.createScanFromCursor(org.apache.hadoop.hbase.client.Cursor cursor)
Creates the scan from cursor.
|
static AnyScan |
AnyScan.of(org.apache.hadoop.hbase.client.Get get)
Of.
|
static AnyScan |
AnyScan.of(Object startRow)
Deprecated.
use
new Scan().withStartRow(startRow) instead. |
static AnyScan |
AnyScan.of(Object startRow,
org.apache.hadoop.hbase.filter.Filter filter)
Deprecated.
use
new Scan().withStartRow(startRow).setFilter(filter) instead. |
static AnyScan |
AnyScan.of(Object startRow,
Object stopRow)
Deprecated.
use
new Scan().withStartRow(startRow).withStopRow(stopRow) instead. |
static AnyScan |
AnyScan.of(org.apache.hadoop.hbase.client.Scan scan)
Of.
|
AnyScan |
AnyScan.readAllVersions()
Read all versions.
|
AnyScan |
AnyScan.readVersions(int maxVersions)
Read versions.
|
AnyScan |
AnyScan.setAllowPartialResults(boolean allowPartialResults)
Sets the allow partial results.
|
AnyScan |
AnyScan.setAsyncPrefetch(boolean asyncPrefetch)
Sets the async prefetch.
|
AnyScan |
AnyScan.setBatch(int batch)
Sets the batch.
|
AnyScan |
AnyScan.setCacheBlocks(boolean cacheBlocks)
Sets the cache blocks.
|
AnyScan |
AnyScan.setCaching(int caching)
Sets the caching.
|
AnyScan |
AnyScan.setColumnFamilyTimeRange(byte[] family,
long minTimestamp,
long maxTimestamp)
Sets the column family time range.
|
AnyScan |
AnyScan.setColumnFamilyTimeRange(String family,
long minTimestamp,
long maxTimestamp)
Sets the column family time range.
|
AnyScan |
AnyScan.setFamilyMap(Map<byte[],NavigableSet<byte[]>> familyMap)
Sets the family map.
|
AnyScan |
AnyScan.setLimit(int limit)
Sets the limit.
|
AnyScan |
AnyScan.setMaxResultSize(long maxResultSize)
Sets the max result size.
|
AnyScan |
AnyScan.setMaxResultsPerColumnFamily(int limit)
Sets the max results per column family.
|
AnyScan |
AnyScan.setMaxVersions()
Deprecated.
It is easy to misunderstand with column family's max versions, so use
readAllVersions() instead. |
AnyScan |
AnyScan.setMaxVersions(int maxVersions)
Deprecated.
It is easy to misunderstand with column family's max versions, so use
readAllVersions() instead. |
AnyScan |
AnyScan.setNeedCursorResult(boolean needCursorResult)
Sets the need cursor result.
|
AnyScan |
AnyScan.setOneRowLimit()
Sets the one row limit.
|
AnyScan |
AnyScan.setRaw(boolean raw)
Sets the raw.
|
AnyScan |
AnyScan.setReadType(org.apache.hadoop.hbase.client.Scan.ReadType readType)
Set the read type for this scan.
|
AnyScan |
AnyScan.setReversed(boolean reversed)
Sets the reversed.
|
AnyScan |
AnyScan.setRowOffsetPerColumnFamily(int offset)
Sets the row offset per column family.
|
AnyScan |
AnyScan.setRowPrefixFilter(Object rowPrefix)
Sets the row prefix filter.
|
AnyScan |
AnyScan.setScanMetricsEnabled(boolean enabled)
Sets the scan metrics enabled.
|
AnyScan |
AnyScan.setSmall(boolean small)
Deprecated.
since 2.0.0. Use
setLimit(int) and setReadType(ReadType) instead.
And for the one rpc optimization, now we will also fetch data when openScanner, and
if the number of rows reaches the limit then we will close the scanner
automatically which means we will fall back to one rpc. |
AnyScan |
AnyScan.setStartRow(Object startRow)
Deprecated.
use
withStartRow(byte[]) instead. This method may change the inclusive of
the stop row to keep compatible with the old behavior. |
AnyScan |
AnyScan.setStopRow(Object stopRow)
Deprecated.
use
withStopRow(byte[]) instead. This method may change the inclusive of
the stop row to keep compatible with the old behavior. |
AnyScan |
AnyScan.setTimeRange(long minStamp,
long maxStamp)
Sets the time range.
|
AnyScan |
AnyScan.setTimestamp(long timestamp)
Sets the timestamp.
|
AnyScan |
AnyScan.setTimeStamp(long timestamp)
Deprecated.
As of release 2.0.0, this will be removed in HBase 3.0.0.
Use
setTimestamp(long) instead |
AnyScan |
AnyScan.withStartRow(Object startRow)
With start row.
|
AnyScan |
AnyScan.withStartRow(Object startRow,
boolean inclusive)
With start row.
|
AnyScan |
AnyScan.withStopRow(Object stopRow)
With stop row.
|
AnyScan |
AnyScan.withStopRow(Object stopRow,
boolean inclusive)
With stop row.
|
Modifier and Type | Method and Description |
---|---|
<T> com.landawn.abacus.util.ContinuableFuture<com.landawn.abacus.util.stream.Stream<T>> |
AsyncHBaseExecutor.scan(Class<T> targetClass,
String tableName,
AnyScan anyScan)
Scan.
|
<T> com.landawn.abacus.util.stream.Stream<T> |
HBaseExecutor.scan(Class<T> targetClass,
String tableName,
AnyScan anyScan)
Scan.
|
com.landawn.abacus.util.ContinuableFuture<com.landawn.abacus.util.stream.Stream<org.apache.hadoop.hbase.client.Result>> |
AsyncHBaseExecutor.scan(String tableName,
AnyScan anyScan)
Scan.
|
com.landawn.abacus.util.stream.Stream<org.apache.hadoop.hbase.client.Result> |
HBaseExecutor.scan(String tableName,
AnyScan anyScan)
Scan.
|
Copyright © 2019. All rights reserved.