| Modifier and Type | Field and Description |
|---|---|
private java.lang.Iterable<Bson> |
filters |
| Constructor and Description |
|---|
AndFilter(java.lang.Iterable<Bson> filters) |
| Modifier and Type | Method and Description |
|---|---|
private void |
addClause(BsonDocument document,
java.util.Map.Entry<java.lang.String,BsonValue> clause) |
private boolean |
keysIntersect(BsonDocument first,
BsonDocument second) |
private void |
promoteRenderableToDollarForm(BsonDocument document,
java.util.Map.Entry<java.lang.String,BsonValue> clause) |
<TDocument> |
toBsonDocument(java.lang.Class<TDocument> documentClass,
CodecRegistry codecRegistry)
Render the filter into a BsonDocument.
|
java.lang.String |
toString() |
private final java.lang.Iterable<Bson> filters
public AndFilter(java.lang.Iterable<Bson> filters)
public <TDocument> BsonDocument toBsonDocument(java.lang.Class<TDocument> documentClass, CodecRegistry codecRegistry)
BsontoBsonDocument in interface BsonTDocument - the type of the document classdocumentClass - the document class in scope for the collection. This parameter may be ignored, but it may be used to alter
the structure of the returned BsonDocument based on some knowledge of the document class.codecRegistry - the codec registry. This parameter may be ignored, but it may be used to look up Codec instances for
the document class or any other related class.private void addClause(BsonDocument document, java.util.Map.Entry<java.lang.String,BsonValue> clause)
private boolean keysIntersect(BsonDocument first, BsonDocument second)
private void promoteRenderableToDollarForm(BsonDocument document, java.util.Map.Entry<java.lang.String,BsonValue> clause)
public java.lang.String toString()
toString in class java.lang.Object