Class PaginationContextEngine


  • public final class PaginationContextEngine
    extends Object
    Pagination context engine.
    • Constructor Detail

      • PaginationContextEngine

        public PaginationContextEngine()
    • Method Detail

      • createPaginationContext

        public PaginationContext createPaginationContext​(org.apache.shardingsphere.sql.parser.sql.common.statement.dml.SelectStatement selectStatement,
                                                         ProjectionsContext projectionsContext,
                                                         List<Object> params,
                                                         Collection<org.apache.shardingsphere.sql.parser.sql.common.segment.dml.predicate.WhereSegment> whereSegments)
        Create pagination context.
        Parameters:
        selectStatement - SQL statement
        projectionsContext - projections context
        params - SQL parameters
        whereSegments - where segments
        Returns:
        pagination context