public class Distinct extends Object
Distinct.Builder
is provided to assist in creating a
Distinct
.Modifier and Type | Class and Description |
---|---|
static class |
Distinct.Builder
Builder provides support for creating a
Distinct object. |
Modifier | Constructor and Description |
---|---|
protected |
Distinct(Distinct.Builder builder)
Creates a new Distinct.
|
protected Distinct(Distinct.Builder builder)
builder
- The builder to copy the state from.AssertionError
- If neither the key
is null
or
empty.public String getKey()
public Document getQuery()
Copyright © 2011-2012 Allanbank Consulting, Inc.. All Rights Reserved.