com.holonplatform.datastore.jdbc.composer

## Interface SQLDialect.LimitHandler

- All Superinterfaces:
    Serializable
  Enclosing interface:
    SQLDialect
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public static interface SQLDialect.LimitHandler
      extends Serializable

  Handler to apply limit/offset to SQL query.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `limitResults(SQLQueryDefinition query, String serializedSql, int limit, int offset)` Apply results limit to query.

- - ### Method Detail

    - #### limitResults

          String limitResults(SQLQueryDefinition query,
                              String serializedSql,
                              int limit,
                              int offset)

      Apply results limit to query.
      Parameters:
        `query` - SQL Query definition
        `serializedSql` - Serialized SQL query
        `limit` - Limit to apply
        `offset` - Offset to use
      Returns:
        Modified SQL query

Copyright © 2019 The Holon Platform. All rights reserved.