Class OLiveLegacyResultSet<T>
java.lang.Object
com.orientechnologies.orient.core.sql.query.OConcurrentLegacyResultSet<T>
com.orientechnologies.orient.core.sql.query.OLiveLegacyResultSet<T>
- All Implemented Interfaces:
OLegacyResultSet<T>,Externalizable,Serializable,Iterable<T>,Collection<T>,List<T>
Created by luigidellaquila on 18/03/15.
- See Also:
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.sql.query.OConcurrentLegacyResultSet
completed, waitForCompletion, waitForNextItem, wrapped -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleanbooleanaddAll(int index, Collection<? extends T> c) booleanaddAll(Collection<? extends T> c) voidclear()voidcomplete()booleanbooleancontainsAll(Collection<?> c) copy()get(int index) intgetLimit()intbooleanisEmpty()iterator()intlistIterator(int index) protected voidvoidremove(int index) booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) setLimit(int limit) intsize()subList(int fromIndex, int toIndex) Object[]toArray()<T1> T1[]toArray(T1[] a) protected voidprotected voidvoidMethods inherited from class com.orientechnologies.orient.core.sql.query.OConcurrentLegacyResultSet
currentSize, equals, hashCode, isEmptyNoWait, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
replaceAll, sort, spliterator
-
Constructor Details
-
OLiveLegacyResultSet
public OLiveLegacyResultSet()
-
-
Method Details
-
setCompleted
- Specified by:
setCompletedin interfaceOLegacyResultSet<T>- Overrides:
setCompletedin classOConcurrentLegacyResultSet<T>
-
complete
public void complete() -
set
-
size
public int size()- Specified by:
sizein interfaceCollection<T>- Specified by:
sizein interfaceList<T>- Overrides:
sizein classOConcurrentLegacyResultSet<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T>- Specified by:
isEmptyin interfaceList<T>- Overrides:
isEmptyin classOConcurrentLegacyResultSet<T>
-
contains
- Specified by:
containsin interfaceCollection<T>- Specified by:
containsin interfaceList<T>- Overrides:
containsin classOConcurrentLegacyResultSet<T>
-
iterator
-
toArray
- Specified by:
toArrayin interfaceCollection<T>- Specified by:
toArrayin interfaceList<T>- Overrides:
toArrayin classOConcurrentLegacyResultSet<T>
-
toArray
public <T1> T1[] toArray(T1[] a) - Specified by:
toArrayin interfaceCollection<T>- Specified by:
toArrayin interfaceList<T>- Overrides:
toArrayin classOConcurrentLegacyResultSet<T>
-
add
- Specified by:
addin interfaceCollection<T>- Specified by:
addin interfaceList<T>- Overrides:
addin classOConcurrentLegacyResultSet<T>
-
remove
- Specified by:
removein interfaceCollection<T>- Specified by:
removein interfaceList<T>- Overrides:
removein classOConcurrentLegacyResultSet<T>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T>- Specified by:
containsAllin interfaceList<T>- Overrides:
containsAllin classOConcurrentLegacyResultSet<T>
-
addAll
- Specified by:
addAllin interfaceCollection<T>- Specified by:
addAllin interfaceList<T>- Overrides:
addAllin classOConcurrentLegacyResultSet<T>
-
addAll
-
removeAll
- Specified by:
removeAllin interfaceCollection<T>- Specified by:
removeAllin interfaceList<T>- Overrides:
removeAllin classOConcurrentLegacyResultSet<T>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T>- Specified by:
retainAllin interfaceList<T>- Overrides:
retainAllin classOConcurrentLegacyResultSet<T>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T>- Specified by:
clearin interfaceList<T>- Overrides:
clearin classOConcurrentLegacyResultSet<T>
-
get
-
add
-
remove
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin interfaceList<T>- Overrides:
lastIndexOfin classOConcurrentLegacyResultSet<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>- Overrides:
listIteratorin classOConcurrentLegacyResultSet<T>
-
listIterator
- Specified by:
listIteratorin interfaceList<T>- Overrides:
listIteratorin classOConcurrentLegacyResultSet<T>
-
subList
-
getLimit
public int getLimit()- Specified by:
getLimitin interfaceOLegacyResultSet<T>- Overrides:
getLimitin classOConcurrentLegacyResultSet<T>
-
setLimit
- Specified by:
setLimitin interfaceOLegacyResultSet<T>- Overrides:
setLimitin classOConcurrentLegacyResultSet<T>
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classOConcurrentLegacyResultSet<T>- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classOConcurrentLegacyResultSet<T>- Throws:
IOExceptionClassNotFoundException
-
waitForCompletion
protected void waitForCompletion()- Overrides:
waitForCompletionin classOConcurrentLegacyResultSet<T>
-
waitForNewItemOrCompleted
protected void waitForNewItemOrCompleted()- Overrides:
waitForNewItemOrCompletedin classOConcurrentLegacyResultSet<T>
-
notifyNewItem
protected void notifyNewItem()- Overrides:
notifyNewItemin classOConcurrentLegacyResultSet<T>
-
copy
- Specified by:
copyin interfaceOLegacyResultSet<T>- Overrides:
copyin classOConcurrentLegacyResultSet<T>
-