Modifier and Type | Field and Description |
---|---|
static FieldList |
EMPTY_LIST |
collection, EMPTY_SET
Constructor and Description |
---|
FieldList() |
FieldList(int... columnIndexes) |
FieldList(int fieldId) |
FieldList(Integer fieldId) |
Modifier and Type | Method and Description |
---|---|
FieldList |
addField(Integer fieldID) |
FieldList |
addFields(FieldSet set) |
FieldList |
addFields(int... fieldIDs) |
Integer |
get(int pos) |
protected String |
getDescriptionPrefix() |
protected String |
getDescriptionSuffix() |
boolean |
isExactMatch(FieldList list) |
boolean |
isValidSubset(FieldList list) |
boolean |
isValidSubset(FieldSet set)
Checks if the given set of fields is a valid subset of this set of fields.
|
boolean |
isValidUnorderedPrefix(FieldSet set) |
FieldList |
toFieldList()
Turns the FieldSet into an ordered FieldList.
|
clone, contains, equals, hashCode, iterator, size, toArray, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final FieldList EMPTY_LIST
public FieldList()
public FieldList(int fieldId)
public FieldList(Integer fieldId)
public FieldList(int... columnIndexes)
public Integer get(int pos)
public FieldList toFieldList()
FieldSet
toFieldList
in class FieldSet
public boolean isValidSubset(FieldSet set)
FieldSet
Subclasses that describe field sets where the field order matters must override this method to implement a field ordering sensitive check.
isValidSubset
in class FieldSet
set
- The set that is a candidate subset.public boolean isValidSubset(FieldList list)
public boolean isValidUnorderedPrefix(FieldSet set)
public boolean isExactMatch(FieldList list)
protected String getDescriptionPrefix()
getDescriptionPrefix
in class FieldSet
protected String getDescriptionSuffix()
getDescriptionSuffix
in class FieldSet
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.