MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.annotation.PartitionKey Interface Reference

Public Member Functions

String column () default""
Column[] columns () default

Detailed Description

Annotation on a class or member to define the partition key. If annotating a class or interface, either a single column or multiple columns can be specified. If annotating a member, neither column nor columns should be specified.

Definition at line 34 of file PartitionKey.java.

Member Function Documentation

String com.mysql.clusterj.annotation.PartitionKey.column ( )

Name of the column to use for the partition key

Returns
the name of the column to use for the partition key
Column [] com.mysql.clusterj.annotation.PartitionKey.columns ( )
inline

The column(s) for the partition key

Returns
the column(s) for the partition key

Definition at line 46 of file PartitionKey.java.


The documentation for this interface was generated from the following file: