接口 GraphAlgebra.QueryParamsOrBuilder

    • 方法详细资料

      • getTablesList

        List<Common.NameOrId> getTablesList()
         The tables to fetch data from. While this may sound arbitrary, but in graph db, we often use
         label instead of table to refer to an entity (vertex/edge). They are semantically the same.
         
        repeated .common.NameOrId tables = 1;
      • getTables

        Common.NameOrId getTables​(int index)
         The tables to fetch data from. While this may sound arbitrary, but in graph db, we often use
         label instead of table to refer to an entity (vertex/edge). They are semantically the same.
         
        repeated .common.NameOrId tables = 1;
      • getTablesCount

        int getTablesCount()
         The tables to fetch data from. While this may sound arbitrary, but in graph db, we often use
         label instead of table to refer to an entity (vertex/edge). They are semantically the same.
         
        repeated .common.NameOrId tables = 1;
      • getTablesOrBuilderList

        List<? extends Common.NameOrIdOrBuilder> getTablesOrBuilderList()
         The tables to fetch data from. While this may sound arbitrary, but in graph db, we often use
         label instead of table to refer to an entity (vertex/edge). They are semantically the same.
         
        repeated .common.NameOrId tables = 1;
      • getTablesOrBuilder

        Common.NameOrIdOrBuilder getTablesOrBuilder​(int index)
         The tables to fetch data from. While this may sound arbitrary, but in graph db, we often use
         label instead of table to refer to an entity (vertex/edge). They are semantically the same.
         
        repeated .common.NameOrId tables = 1;
      • getColumnsList

        List<Common.NameOrId> getColumnsList()
         The required columns of the table.
         
        repeated .common.NameOrId columns = 2;
      • getColumns

        Common.NameOrId getColumns​(int index)
         The required columns of the table.
         
        repeated .common.NameOrId columns = 2;
      • getColumnsCount

        int getColumnsCount()
         The required columns of the table.
         
        repeated .common.NameOrId columns = 2;
      • getColumnsOrBuilderList

        List<? extends Common.NameOrIdOrBuilder> getColumnsOrBuilderList()
         The required columns of the table.
         
        repeated .common.NameOrId columns = 2;
      • getColumnsOrBuilder

        Common.NameOrIdOrBuilder getColumnsOrBuilder​(int index)
         The required columns of the table.
         
        repeated .common.NameOrId columns = 2;
      • getIsAllColumns

        boolean getIsAllColumns()
         Can specify to get all columns of the table
         
        bool is_all_columns = 3;
        返回:
        The isAllColumns.
      • hasLimit

        boolean hasLimit()
         The size limit
         
        .algebra.Range limit = 4;
        返回:
        Whether the limit field is set.
      • getLimit

        GraphAlgebra.Range getLimit()
         The size limit
         
        .algebra.Range limit = 4;
        返回:
        The limit.
      • hasPredicate

        boolean hasPredicate()
         The optional predicate for the data tuple, which may be pushed down to the storage service
         
        .common.Expression predicate = 5;
        返回:
        Whether the predicate field is set.
      • getPredicate

        OuterExpression.Expression getPredicate()
         The optional predicate for the data tuple, which may be pushed down to the storage service
         
        .common.Expression predicate = 5;
        返回:
        The predicate.
      • getPredicateOrBuilder

        OuterExpression.ExpressionOrBuilder getPredicateOrBuilder()
         The optional predicate for the data tuple, which may be pushed down to the storage service
         
        .common.Expression predicate = 5;
      • getSampleRatio

        double getSampleRatio()
         Define the sampling ratio, while querying vertex/edge.
         1.0 by default for deterministic case.
         
        double sample_ratio = 6;
        返回:
        The sampleRatio.
      • getExtraCount

        int getExtraCount()
         Extra parameters for general-purpose usage
         
        map<string, string> extra = 7;
      • containsExtra

        boolean containsExtra​(String key)
         Extra parameters for general-purpose usage
         
        map<string, string> extra = 7;
      • getExtraMap

        Map<String,​String> getExtraMap()
         Extra parameters for general-purpose usage
         
        map<string, string> extra = 7;
      • getExtraOrDefault

        String getExtraOrDefault​(String key,
                                 String defaultValue)
         Extra parameters for general-purpose usage
         
        map<string, string> extra = 7;
      • getExtraOrThrow

        String getExtraOrThrow​(String key)
         Extra parameters for general-purpose usage
         
        map<string, string> extra = 7;