Package com.google.gerrit.index.query
Class AndSource<T>
java.lang.Object
com.google.gerrit.index.query.Predicate<T>
com.google.gerrit.index.query.AndPredicate<T>
com.google.gerrit.index.query.AndSource<T>
- All Implemented Interfaces:
- DataSource<T>,- HasCardinality,- Matchable<T>,- Comparator<Predicate<T>>
- Direct Known Subclasses:
- AndChangeSource
- 
Nested Class SummaryNested classes/interfaces inherited from class com.google.gerrit.index.query.PredicatePredicate.Any<T>
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionAndSource(Collection<? extends Predicate<T>> that, int start, IndexConfig indexConfig) AndSource(Collection<? extends Predicate<T>> that, IndexConfig indexConfig) 
- 
Method SummaryModifier and TypeMethodDescriptionintReturns an estimate of the number of results a source can return.booleanDoes this predicate match this object?read()Returns read from the index and return the results.readRaw()Returns read from the index and return the raw results.transformBuffer(List<T> buffer) Methods inherited from class com.google.gerrit.index.query.AndPredicatecompare, copy, equals, getChild, getChildCount, getChildren, getCost, hashCode, isMatchable, toStringMethods inherited from class com.google.gerrit.index.query.Predicateand, and, any, asMatchable, estimateCost, getFlattenedPredicateList, getLeafCount, getPredicateString, isLeaf, not, or, or, supportedForQueriesMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparatorreversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface com.google.gerrit.index.query.MatchablematchResult
- 
Field Details- 
filteredSource
 
- 
- 
Constructor Details- 
AndSource
- 
AndSource
 
- 
- 
Method Details- 
readDescription copied from interface:DataSourceReturns read from the index and return the results.- Specified by:
- readin interface- DataSource<T>
 
- 
readRawDescription copied from interface:DataSourceReturns read from the index and return the raw results.- Specified by:
- readRawin interface- DataSource<T>
 
- 
matchDescription copied from interface:MatchableDoes this predicate match this object?
- 
transformBuffer
- 
getCardinalitypublic int getCardinality()Description copied from interface:HasCardinalityReturns an estimate of the number of results a source can return.- Specified by:
- getCardinalityin interface- HasCardinality
 
 
-