public static final class SURDataModelSetup.SURDataModel
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static SURDataModelSetup.SURDataModel |
MODEL_WITH_NO_KEYS
Model with no keys
|
static SURDataModelSetup.SURDataModel |
MODEL_WITH_PK
Model with primary key
|
static SURDataModelSetup.SURDataModel |
MODEL_WITH_PK_AND_SECONDARY_KEY
Model with primary key and secondary index
|
static SURDataModelSetup.SURDataModel |
MODEL_WITH_SECONDARY_KEY
Model with secondary index
|
private java.lang.String |
name |
private static java.util.Set |
values
Array with all values
|
Modifier | Constructor and Description |
---|---|
private |
SURDataModel(java.lang.String name)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCreateTableStatement()
Returns the string for creating the table
|
boolean |
hasPrimaryKey()
Returns true if this model has primary key
|
boolean |
hasSecondaryKey()
Returns true if this model has a secondary key
|
java.lang.String |
toString()
Returns a string representation of the model
|
static java.util.Set |
values()
Returns an unmodifyable set of all valid data models
|
public static final SURDataModelSetup.SURDataModel MODEL_WITH_NO_KEYS
public static final SURDataModelSetup.SURDataModel MODEL_WITH_PK
public static final SURDataModelSetup.SURDataModel MODEL_WITH_SECONDARY_KEY
public static final SURDataModelSetup.SURDataModel MODEL_WITH_PK_AND_SECONDARY_KEY
private static final java.util.Set values
private final java.lang.String name
public static final java.util.Set values()
public boolean hasPrimaryKey()
public boolean hasSecondaryKey()
public java.lang.String getCreateTableStatement()
public java.lang.String toString()
toString
in class java.lang.Object
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.