public class QueryInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Note that the hash key is specific to the query. If we have hash collisions over our selector set, we will append integers to the key starting with 0 until we no longer have collisions
Constructor and Description |
---|
QueryInfo(int numSelectorsInput,
int hashBitSizeInput,
java.lang.String hashKeyInput,
int dataPartitionBitSizeInput,
java.lang.String queryTypeInput,
boolean useExpLookupTableInput,
boolean embedSelectorInput,
boolean useHDFSExpLookupTableInput) |
QueryInfo(java.util.Map queryInfoMap) |
QueryInfo(java.util.UUID identifierInput,
int numSelectorsInput,
int hashBitSizeInput,
java.lang.String hashKeyInput,
int dataPartitionBitSizeInput,
java.lang.String queryTypeInput,
boolean useExpLookupTableInput,
boolean embedSelectorInput,
boolean useHDFSExpLookupTableInput) |
Modifier and Type | Method and Description |
---|---|
void |
addQuerySchema(QuerySchema qSchemaIn) |
QueryInfo |
clone() |
int |
getDataPartitionBitSize() |
boolean |
getEmbedSelector() |
int |
getHashBitSize() |
java.lang.String |
getHashKey() |
java.util.UUID |
getIdentifier() |
int |
getNumBitsPerDataElement() |
int |
getNumPartitionsPerDataElement() |
int |
getNumSelectors() |
QuerySchema |
getQuerySchema() |
java.lang.String |
getQueryType() |
void |
printQueryInfo() |
java.util.Map |
toMap() |
boolean |
useExpLookupTable() |
boolean |
useHDFSExpLookupTable() |
public QueryInfo(int numSelectorsInput, int hashBitSizeInput, java.lang.String hashKeyInput, int dataPartitionBitSizeInput, java.lang.String queryTypeInput, boolean useExpLookupTableInput, boolean embedSelectorInput, boolean useHDFSExpLookupTableInput)
public QueryInfo(java.util.UUID identifierInput, int numSelectorsInput, int hashBitSizeInput, java.lang.String hashKeyInput, int dataPartitionBitSizeInput, java.lang.String queryTypeInput, boolean useExpLookupTableInput, boolean embedSelectorInput, boolean useHDFSExpLookupTableInput)
public QueryInfo(java.util.Map queryInfoMap)
public java.util.UUID getIdentifier()
public java.lang.String getQueryType()
public int getNumSelectors()
public int getHashBitSize()
public java.lang.String getHashKey()
public int getNumBitsPerDataElement()
public int getNumPartitionsPerDataElement()
public int getDataPartitionBitSize()
public boolean useExpLookupTable()
public boolean useHDFSExpLookupTable()
public boolean getEmbedSelector()
public java.util.Map toMap()
public void addQuerySchema(QuerySchema qSchemaIn)
public QuerySchema getQuerySchema()
public void printQueryInfo()
public QueryInfo clone()
clone
in class java.lang.Object