public interface IDTable extends IAdaptable, Set<Integer>
Modifier and Type | Field and Description |
---|---|
static long |
NOTEID_FLAG_DELETED
special bitflag that is applied to note ids if a document has been reported as deleted
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Creates a copy of this IDTable
|
Optional<DominoDateTime> |
getDateTime()
Returns a
DominoDateTime set in this IDTable via
a database search (e.g. |
IDTable |
intersect(Collection<Integer> noteIds)
This function creates the intersection of two ID sets.
The resulting table contains those IDs that are common to both source tables. |
boolean |
isInverted()
Sense of list inverted (reserved for use by caller only)
|
boolean |
isModified()
Set by Insert/Delete and can be cleared by caller if desired
|
Iterator<Integer> |
reverseIterator()
Returns a note id iterator in reverse order
|
void |
setDateTime(TemporalAccessor dt)
Changes the datetime value stored in this
IDTable |
void |
setInverted(boolean b)
Sets the inverted flag
|
void |
setModified(boolean modified)
Sets the modified flag
|
int[] |
toIntArray()
Copies the contents of the ID table into an array of
int s |
getAdapter
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
static final long NOTEID_FLAG_DELETED
IDTable intersect(Collection<Integer> noteIds)
noteIds
- other IDTable
or Set of note idsIterator<Integer> reverseIterator()
boolean isInverted()
void setInverted(boolean b)
b
- new value of inverted flagboolean isModified()
void setModified(boolean modified)
modified
- new modified flag valueOptional<DominoDateTime> getDateTime()
DominoDateTime
set in this IDTable
via
a database search (e.g. a cutoff date for incremental searches)Optional
describing the "until" time set in this table, or
an empty one if this has not been setvoid setDateTime(TemporalAccessor dt)
IDTable
dt
- new datetime or nullObject clone()
int[] toIntArray()
int
sint[]
Copyright © 2019–2021 HCL. All rights reserved.