com.holonplatform.datastore.jdbc.composer.expression

## Interface SQLPrimaryKey

- All Superinterfaces:
    com.holonplatform.core.Expression

      public interface SQLPrimaryKey
      extends com.holonplatform.core.Expression

  Represents a database table primary key.

  Each column of the primary key is represented by a `Path`.

  Since:
    5.1.0

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface com.holonplatform.core.Expression

      `com.holonplatform.core.Expression.ExpressionResolverFunction<E extends com.holonplatform.core.Expression,R extends com.holonplatform.core.Expression>, com.holonplatform.core.Expression.InvalidExpressionException`

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SQLPrimaryKey` | `create(com.holonplatform.core.Path<?>... paths)` Create a new `SQLPrimaryKey` using given `Path`s.
    `com.holonplatform.core.Path<?>[]` | `getPaths()` Get the primary key `Path`s.

    - ### Methods inherited from interface com.holonplatform.core.Expression

      `validate`

- - ### Method Detail

    - #### getPaths

          com.holonplatform.core.Path<?>[] getPaths()

      Get the primary key `Path`s.
      Returns:
        the primary key (not null and not empty)

    - #### create

          static SQLPrimaryKey create(com.holonplatform.core.Path<?>... paths)

      Create a new `SQLPrimaryKey` using given `Path`s.
      Parameters:
        `paths` - Primary key paths
      Returns:
        A new `SQLPrimaryKey`

Copyright © 2019 The Holon Platform. All rights reserved.