Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<QueryResponseJSON>> |
DecryptResponse.decrypt() |
java.util.Map<java.lang.String,java.util.List<QueryResponseJSON>> |
DecryptResponse.decrypt(int numThreads)
Method to decrypt the response elements and reconstructs the data elements
|
Modifier and Type | Method and Description |
---|---|
static QueryResponseJSON |
QueryUtils.extractQueryResponseJSON(QueryInfo queryInfo,
QuerySchema qSchema,
java.util.List<java.math.BigInteger> parts)
Method to convert the given BigInteger raw data element partitions to a QueryResponseJSON object based upon the given queryType
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<QueryResponseJSON> |
DistTestSuite.performQuery(java.lang.String queryType,
java.util.ArrayList<java.lang.String> selectors,
org.apache.hadoop.fs.FileSystem fs,
boolean isSpark,
int numThreads,
boolean isStreaming) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<QueryResponseJSON> |
StandaloneQuery.performStandaloneQuery(java.util.List<org.json.simple.JSONObject> dataElements,
java.lang.String queryType,
java.util.List<java.lang.String> selectors,
int numThreads,
boolean testFalsePositive) |
static java.util.List<QueryResponseJSON> |
TestUtils.readResultsFile(java.io.File file)
Converts the result file into an ArrayList of QueryResponseJSON objects
|
Modifier and Type | Method and Description |
---|---|
static void |
BaseTests.checkDNSHostnameQueryResults(java.util.List<QueryResponseJSON> results,
boolean isDistributed,
int numExpectedResults,
boolean testFalsePositive,
java.util.List<org.json.simple.JSONObject> dataElements) |
Modifier and Type | Method and Description |
---|---|
static void |
QueryResultsWriter.writeResultFile(java.io.File file,
java.util.Map<java.lang.String,java.util.List<QueryResponseJSON>> resultMap)
Writes elements of the resultMap to output file, one line for each element, where each line is a string representation of the corresponding
QueryResponseJSON object
|
static void |
QueryResultsWriter.writeResultFile(java.lang.String filename,
java.util.Map<java.lang.String,java.util.List<QueryResponseJSON>> resultMap)
Writes elements of the resultMap to output file, one line for each element, where each line is a string representation of the corresponding
QueryResponseJSON object
|