Interface QueryInterface
-
- All Known Subinterfaces:
Session
- All Known Implementing Classes:
DefaultSession
public interface QueryInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>
callProcedure(com.alibaba.graphscope.gaia.proto.StoredProcedure.Query request)
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>
callProcedure(com.alibaba.graphscope.interactive.models.QueryRequest request)
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>
callProcedure(String graphId, com.alibaba.graphscope.gaia.proto.StoredProcedure.Query request)
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>
callProcedure(String graphId, com.alibaba.graphscope.interactive.models.QueryRequest request)
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>>
callProcedureAsync(com.alibaba.graphscope.gaia.proto.StoredProcedure.Query request)
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>>
callProcedureAsync(com.alibaba.graphscope.interactive.models.QueryRequest request)
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>>
callProcedureAsync(String graphId, com.alibaba.graphscope.gaia.proto.StoredProcedure.Query request)
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>>
callProcedureAsync(String graphId, com.alibaba.graphscope.interactive.models.QueryRequest request)
Result<byte[]>
callProcedureRaw(byte[] request)
Result<byte[]>
callProcedureRaw(String graphId, byte[] request)
CompletableFuture<Result<byte[]>>
callProcedureRawAsync(byte[] request)
CompletableFuture<Result<byte[]>>
callProcedureRawAsync(String graphId, byte[] request)
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>
runAdhocQuery(com.alibaba.graphscope.gaia.proto.GraphAlgebraPhysical.PhysicalPlan physicalPlan)
Submit a adhoc query, represented via physical plan.Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>
runAdhocQuery(String graphId, com.alibaba.graphscope.gaia.proto.GraphAlgebraPhysical.PhysicalPlan physicalPlan)
Submit a adhoc query, represented via physical plan.CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>>
runAdhocQueryAsync(com.alibaba.graphscope.gaia.proto.GraphAlgebraPhysical.PhysicalPlan physicalPlan)
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>>
runAdhocQueryAsync(String graphId, com.alibaba.graphscope.gaia.proto.GraphAlgebraPhysical.PhysicalPlan physicalPlan)
-
-
-
Method Detail
-
callProcedure
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults> callProcedure(String graphId, com.alibaba.graphscope.interactive.models.QueryRequest request)
-
callProcedureAsync
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>> callProcedureAsync(String graphId, com.alibaba.graphscope.interactive.models.QueryRequest request)
-
callProcedure
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults> callProcedure(com.alibaba.graphscope.interactive.models.QueryRequest request)
-
callProcedureAsync
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>> callProcedureAsync(com.alibaba.graphscope.interactive.models.QueryRequest request)
-
callProcedure
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults> callProcedure(String graphId, com.alibaba.graphscope.gaia.proto.StoredProcedure.Query request)
-
callProcedureAsync
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>> callProcedureAsync(String graphId, com.alibaba.graphscope.gaia.proto.StoredProcedure.Query request)
-
callProcedure
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults> callProcedure(com.alibaba.graphscope.gaia.proto.StoredProcedure.Query request)
-
callProcedureAsync
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>> callProcedureAsync(com.alibaba.graphscope.gaia.proto.StoredProcedure.Query request)
-
callProcedureRawAsync
CompletableFuture<Result<byte[]>> callProcedureRawAsync(String graphId, byte[] request)
-
callProcedureRaw
Result<byte[]> callProcedureRaw(byte[] request)
-
callProcedureRawAsync
CompletableFuture<Result<byte[]>> callProcedureRawAsync(byte[] request)
-
runAdhocQuery
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults> runAdhocQuery(String graphId, com.alibaba.graphscope.gaia.proto.GraphAlgebraPhysical.PhysicalPlan physicalPlan)
Submit a adhoc query, represented via physical plan.- Parameters:
graphId
- the identifier of the graphphysicalPlan
- physical execution plan.- Returns:
- the results.
-
runAdhocQueryAsync
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>> runAdhocQueryAsync(String graphId, com.alibaba.graphscope.gaia.proto.GraphAlgebraPhysical.PhysicalPlan physicalPlan)
-
runAdhocQuery
Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults> runAdhocQuery(com.alibaba.graphscope.gaia.proto.GraphAlgebraPhysical.PhysicalPlan physicalPlan)
Submit a adhoc query, represented via physical plan.- Parameters:
physicalPlan
- physical execution plan.- Returns:
- the results.
-
runAdhocQueryAsync
CompletableFuture<Result<com.alibaba.graphscope.gaia.proto.IrResult.CollectiveResults>> runAdhocQueryAsync(com.alibaba.graphscope.gaia.proto.GraphAlgebraPhysical.PhysicalPlan physicalPlan)
-
-