com.hazelcast.query.impl
Class AndResultSet

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

public class AndResultSet
extends AbstractSet<QueryableEntry>

And Result set for Predicates.


Constructor Summary
AndResultSet(Set<QueryableEntry> setSmallest, List<Set<QueryableEntry>> otherIndexedResults, List<Predicate> lsNoIndexPredicates)
           
 
Method Summary
 boolean contains(Object o)
           
 Iterator<QueryableEntry> iterator()
           
 int size()
           
 byte[] toByteArray(ObjectDataOutput out)
           
 
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

AndResultSet

public AndResultSet(Set<QueryableEntry> setSmallest,
                    List<Set<QueryableEntry>> otherIndexedResults,
                    List<Predicate> lsNoIndexPredicates)
Method Detail

toByteArray

public byte[] toByteArray(ObjectDataOutput out)
                   throws IOException
Throws:
IOException

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.