public class Index
extends java.lang.Object
DataObject
Modifier and Type | Field and Description |
---|---|
static int |
DUPLICATES |
static int |
UNIQUE |
Constructor and Description |
---|
Index(IndexItem[] indexItems,
int occurrence)
Constructs a new index definition with the specified item array and occurence.
|
Modifier and Type | Method and Description |
---|---|
IndexItem[] |
getIndexItems()
Return the index items.
|
int |
getOccurrence()
Returns the occurrence.
|
boolean |
isUnique()
Checks if index is unique.
|
public static final int DUPLICATES
public static final int UNIQUE
public Index(IndexItem[] indexItems, int occurrence)
indexItems
- the index items to be usedoccurrence
- indicates DUPLICATES
or
UNIQUE
occurencepublic boolean isUnique()
public IndexItem[] getIndexItems()
public int getOccurrence()
DUPLICATES
or
UNIQUE
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de