类 TableFilterParams

    • 构造器详细资料

      • TableFilterParams

        public TableFilterParams​(String schemaName,
                                 String collectionName)
        Constructor.
        参数:
        schemaName - Schema name
        collectionName - Collection name
      • TableFilterParams

        public TableFilterParams​(String schemaName,
                                 String collectionName,
                                 boolean supportsOffset)
        Constructor.
        参数:
        schemaName - Schema name
        collectionName - Collection name
        supportsOffset - Whether offset is supported or not
    • 方法详细资料

      • setFields

        public void setFields​(String... projection)
        从接口复制的说明: FilterParams
        Parse projection expressions into X Protocol Projection objects.
         collection.find().fields("CAST($.x as SIGNED) as x").execute();
         table.select("_id, name, birthday, age").execute();
         table.select("age as age_group, count(name) as cnt, something").execute();
         
        指定者:
        setFields 在接口中 FilterParams
        指定者:
        setFields 在类中 AbstractFilterParams
        参数:
        projection - projection expression