public class IndexItem
extends java.lang.Object
Index
,
DataObject
Modifier and Type | Field and Description |
---|---|
static int |
ASCENDING |
static int |
DESCENDING |
Constructor and Description |
---|
IndexItem(AbstractAttribute attribute)
Constructs an new index item with the specified field name and sort type.
|
IndexItem(AbstractAttribute attribute,
int sortType)
Constructs an new index item with the specified field name and sort type.
|
IndexItem(java.lang.String fieldName)
Constructs an new ascending index item with the specified field name.
|
IndexItem(java.lang.String fieldName,
int sortType)
Constructs an new index item with the specified field name and sort type.
|
Modifier and Type | Method and Description |
---|---|
static IndexItem[] |
concat(IndexItem[][] indexItemArrays) |
java.lang.String |
getFieldName()
Returns the field name of the index
|
int |
getSortType()
Returns the sort type
|
public static final int ASCENDING
public static final int DESCENDING
public IndexItem(AbstractAttribute attribute)
attribute
- attribute to be indexed.sortType
- public IndexItem(java.lang.String fieldName)
fieldName
- the name of the field to be indexed.public IndexItem(AbstractAttribute attribute, int sortType)
attribute
- attribute to be indexed.sortType
- the sort type which may be ASCENDING
sortType
- public IndexItem(java.lang.String fieldName, int sortType)
fieldName
- the name of the field to be indexed.sortType
- the sort type which may be ASCENDING
or DESCENDING
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de