public class MockQueryContext extends Object implements IQueryContext
Constructor and Description |
---|
MockQueryContext(UUID queryId) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
finalize() |
IQueryAttributes |
getAttributes()
Return an interface which allows attribute values to be associated with
an
IQueryContext . |
IMemoryManager |
getMemoryManager()
Return the
IMemoryManager which may be used to buffer data on
high level data structures, such as the HTree , for this query. |
UUID |
getQueryId()
The unique identifier for the query.
|
public MockQueryContext(UUID queryId)
public UUID getQueryId()
IQueryContext
getQueryId
in interface IQueryContext
public IMemoryManager getMemoryManager()
IQueryContext
IMemoryManager
which may be used to buffer data on
high level data structures, such as the HTree
, for this query.
Each operator in the query should in general create its own child
IMemoryManager
. While the overall IMemoryManager
context
associated with a query will be released when the query terminates,
operators which create child IMemoryManager
contexts are
responsible for releasing their IMemoryManager
in a timely
fashion when the operator has finished its evaluation.getMemoryManager
in interface IQueryContext
public IQueryAttributes getAttributes()
IQueryContext
IQueryContext
.getAttributes
in interface IQueryContext
public void close()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.