public class JsonScanSpec extends Object
Modifier and Type | Field and Description |
---|---|
protected org.ojai.store.QueryCondition |
condition |
protected com.mapr.db.index.IndexDesc |
indexDesc |
protected byte[] |
startRow |
protected byte[] |
stopRow |
protected String |
tableName |
Constructor and Description |
---|
JsonScanSpec(String tableName,
com.mapr.db.index.IndexDesc indexDesc,
org.ojai.store.QueryCondition condition) |
Modifier and Type | Method and Description |
---|---|
org.ojai.store.QueryCondition |
getCondition() |
com.mapr.db.index.IndexDesc |
getIndexDesc() |
String |
getIndexName() |
org.apache.hadoop.fs.Path |
getPrimaryTablePath() |
byte[] |
getSerializedFilter() |
byte[] |
getStartRow() |
byte[] |
getStopRow() |
String |
getTableName() |
boolean |
isSecondaryIndex() |
void |
mergeScanSpec(String functionName,
JsonScanSpec scanSpec) |
void |
setCondition(org.ojai.store.QueryCondition condition) |
void |
setStartRow(byte[] startRow) |
void |
setStopRow(byte[] stopRow) |
String |
toString() |
protected String tableName
protected com.mapr.db.index.IndexDesc indexDesc
protected org.ojai.store.QueryCondition condition
protected byte[] startRow
protected byte[] stopRow
public JsonScanSpec(String tableName, com.mapr.db.index.IndexDesc indexDesc, org.ojai.store.QueryCondition condition)
public String getTableName()
public com.mapr.db.index.IndexDesc getIndexDesc()
public void setStartRow(byte[] startRow)
public void setStopRow(byte[] stopRow)
public byte[] getStartRow()
public byte[] getStopRow()
public byte[] getSerializedFilter()
public void setCondition(org.ojai.store.QueryCondition condition)
public org.ojai.store.QueryCondition getCondition()
public boolean isSecondaryIndex()
public org.apache.hadoop.fs.Path getPrimaryTablePath()
public String getIndexName()
public void mergeScanSpec(String functionName, JsonScanSpec scanSpec)
Copyright © 2021 The Apache Software Foundation. All rights reserved.