Interface QueryInterface

  • All Known Subinterfaces:
    Session
    All Known Implementing Classes:
    DefaultSession

    public interface QueryInterface
    • 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)
      • callProcedureRaw

        Result<byte[]> callProcedureRaw​(String graphId,
                                        byte[] request)
      • callProcedureRaw

        Result<byte[]> callProcedureRaw​(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 graph
        physicalPlan - 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)