Constructor and Description |
---|
Scan(byte[] startRow,
byte[] stopRow)
Creates
Scan for a given start and stop row keys. |
Scan(byte[] startRow,
byte[] stopRow,
Filter filter)
Creates
Scan for a given start and stop row keys and filter. |
Modifier and Type | Method and Description |
---|---|
Filter |
getFilter() |
Map<String,String> |
getProperties() |
byte[] |
getStartRow() |
byte[] |
getStopRow() |
void |
setProperty(String property,
String value)
Set a property for the Scan.
|
String |
toString() |
public Scan(@Nullable byte[] startRow, @Nullable byte[] stopRow)
Scan
for a given start and stop row keys.startRow
- start row inclusive; null
means start from first row of the tablestopRow
- stop row exclusive; null
means scan all rows to the end of the
tablepublic Scan(@Nullable byte[] startRow, @Nullable byte[] stopRow, @Nullable Filter filter)
Scan
for a given start and stop row keys and filter.startRow
- start row inclusive; null
means start from first row of the tablestopRow
- stop row exclusive; null
means scan all rows to the end of the
tablefilter
- filter to be used on scanpublic void setProperty(String property, String value)
property
- the name of the propertyvalue
- the value of the property@Nullable public byte[] getStartRow()
@Nullable public byte[] getStopRow()
Copyright © 2024 Cask Data, Inc. Licensed under the Apache License, Version 2.0.