public class QueryContext extends Object implements org.apache.ignite.internal.processors.query.h2.H2QueryContext
| Constructor and Description |
|---|
QueryContext(int segment,
@Nullable IndexingQueryFilter filter,
@Nullable DistributedJoinContext distributedJoinCtx,
@Nullable MvccSnapshot mvccSnapshot,
@Nullable PartitionReservation reservations,
boolean loc)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearContext(boolean nodeStop) |
@Nullable DistributedJoinContext |
distributedJoinContext() |
IndexingQueryFilter |
filter() |
boolean |
local() |
@Nullable MvccSnapshot |
mvccSnapshot() |
static QueryContext |
parseContext(@Nullable IndexingQueryFilter filter,
boolean local) |
int |
segment() |
String |
toString() |
public QueryContext(int segment,
@Nullable
@Nullable IndexingQueryFilter filter,
@Nullable
@Nullable DistributedJoinContext distributedJoinCtx,
@Nullable
@Nullable MvccSnapshot mvccSnapshot,
@Nullable
@Nullable PartitionReservation reservations,
boolean loc)
segment - Index segment ID.filter - Filter.distributedJoinCtx - Distributed join context.mvccSnapshot - MVCC snapshot.loc - True for local queries, false for distributed ones.public static QueryContext parseContext(@Nullable @Nullable IndexingQueryFilter filter, boolean local)
filter - Filter.local - Local query flag.@Nullable public @Nullable MvccSnapshot mvccSnapshot()
@Nullable public @Nullable DistributedJoinContext distributedJoinContext()
public int segment()
public void clearContext(boolean nodeStop)
nodeStop - Node is stopping.public IndexingQueryFilter filter()
public boolean local()
True for local queries, false for distributed ones.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025