public interface ScannerBuilder
Modifier and Type | Method and Description |
---|---|
CellScanner |
build() |
RowScannerBuilder |
byRow()
Call this to build a row scanner.
|
ScannerBuilder |
fetch(Collection<Column> columns)
Passing in a Column with only the family set will fetch the entire column family.
|
ScannerBuilder |
fetch(Column... columns)
Passing in a Column with only the family set will fetch the entire column family.
|
default ScannerBuilder |
over(Bytes row) |
default ScannerBuilder |
over(Bytes row,
Column col) |
default ScannerBuilder |
over(CharSequence row) |
default ScannerBuilder |
over(CharSequence row,
Column col) |
ScannerBuilder |
over(Span span) |
default ScannerBuilder |
overPrefix(Bytes rowPrefix) |
default ScannerBuilder |
overPrefix(Bytes row,
Column colPrefix) |
default ScannerBuilder |
overPrefix(CharSequence rowPrefix) |
default ScannerBuilder |
overPrefix(CharSequence row,
Column colPrefix) |
ScannerBuilder over(Span span)
span
- restrict the scanner to data within spandefault ScannerBuilder over(Bytes row)
row
- restrict the scanner to data in an exact rowSpan.exact(Bytes)
default ScannerBuilder over(CharSequence row)
row
- restrict the scanner to data in an exact row. String parameters will be encoded as
UTF-8Span.exact(CharSequence)
default ScannerBuilder over(Bytes row, Column col)
row
- restrict the scanner to data in an exact rowcol
- restrict the scanner to data in exact Column
.Span.exact(Bytes, Column)
default ScannerBuilder over(CharSequence row, Column col)
row
- restrict the scanner to data in an exact rowcol
- restrict the scanner to data in exact Column
.Span.exact(CharSequence, Column)
default ScannerBuilder overPrefix(Bytes rowPrefix)
rowPrefix
- restrict the scanner to data in rows that begins with a prefixSpan.prefix(Bytes)
default ScannerBuilder overPrefix(CharSequence rowPrefix)
rowPrefix
- restrict the scanner to data in rows that begins with a prefix.Span.prefix(CharSequence)
default ScannerBuilder overPrefix(Bytes row, Column colPrefix)
row
- restrict the scanner to data in an exact row.colPrefix
- restrict scanner to data that begins with specifiec
Column
prefix.Span.prefix(Bytes, Column)
default ScannerBuilder overPrefix(CharSequence row, Column colPrefix)
row
- restrict the scanner to data in an exact row.colPrefix
- restrict scanner to data that begins with specifiec
Column
prefix.Span.prefix(CharSequence, Column)
ScannerBuilder fetch(Column... columns)
columns
- restrict the scanner to only these columnsScannerBuilder fetch(Collection<Column> columns)
columns
- restrict the scanner to only these columnsCellScanner build()
RowScannerBuilder byRow()
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.