com.hazelcast.query.impl
Class OrResultSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet<QueryableEntry>
          extended by com.hazelcast.query.impl.OrResultSet
All Implemented Interfaces:
Iterable<QueryableEntry>, Collection<QueryableEntry>, Set<QueryableEntry>

public class OrResultSet
extends AbstractSet<QueryableEntry>

Or result set for Predicates.


Constructor Summary
OrResultSet(List<Set<QueryableEntry>> indexedResults)
           
 
Method Summary
 boolean contains(Object o)
           
 Iterator<QueryableEntry> iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray
 

Constructor Detail

OrResultSet

public OrResultSet(List<Set<QueryableEntry>> indexedResults)
Method Detail

contains

public boolean contains(Object o)
Specified by:
contains in interface Collection<QueryableEntry>
Specified by:
contains in interface Set<QueryableEntry>
Overrides:
contains in class AbstractCollection<QueryableEntry>

iterator

public Iterator<QueryableEntry> iterator()
Specified by:
iterator in interface Iterable<QueryableEntry>
Specified by:
iterator in interface Collection<QueryableEntry>
Specified by:
iterator in interface Set<QueryableEntry>
Specified by:
iterator in class AbstractCollection<QueryableEntry>

size

public int size()
Specified by:
size in interface Collection<QueryableEntry>
Specified by:
size in interface Set<QueryableEntry>
Specified by:
size in class AbstractCollection<QueryableEntry>


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.