public final class CandidatePair extends SqllrObject
| Modifier and Type | Class and Description |
|---|---|
static class |
CandidatePair.Builder
Collects the members of a new
CandidatePair. |
SqllrObject.Reader<T>| Modifier and Type | Field and Description |
|---|---|
static List<String> |
MEMBERS
The members the schema defines, in schema order.
|
static SqllrObject.Reader<CandidatePair> |
READER
Reads a JSON object as a
CandidatePair. |
static List<String> |
REQUIRED
The members the schema requires.
|
| Modifier and Type | Method and Description |
|---|---|
static CandidatePair.Builder |
builder() |
static CandidatePair |
fromJson(Object json)
A
CandidatePair with the members of a JSON object, all kept. |
Long |
getSourceRef()
The member
sourceRef. |
Long |
getTargetRef()
The member
targetRef. |
CandidatePair.Builder |
toBuilder()
A builder holding every member of this object.
|
public static final SqllrObject.Reader<CandidatePair> READER
CandidatePair.public static CandidatePair fromJson(Object json)
CandidatePair with the members of a JSON object, all kept.public static CandidatePair.Builder builder()
public CandidatePair.Builder toBuilder()
public Long getSourceRef()
sourceRef. A document-local reference: an integer that is unique across
the whole document (one reference space for every object that carries a ref). Local
references are assigned after merging and have no meaning outside the document (Sections 6.1
and 13). Null when absent; throws IllegalStateException when the member holds another JSON
type.public Long getTargetRef()
targetRef. A document-local reference: an integer that is unique across
the whole document (one reference space for every object that carries a ref). Local
references are assigned after merging and have no meaning outside the document (Sections 6.1
and 13). Null when absent; throws IllegalStateException when the member holds another JSON
type.