Package | Description |
---|---|
org.infinispan.schematic.document | |
org.infinispan.schematic.internal.document |
Modifier and Type | Method and Description |
---|---|
ObjectId |
MergeDocument.getObjectId(String name) |
ObjectId |
Document.getObjectId(String name)
Get the
ObjectId value in this document for the given field name. |
ObjectId |
ObjectId.Externalizer.readObject(ObjectInput input) |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends ObjectId>> |
ObjectId.Externalizer.getTypeClasses() |
Modifier and Type | Method and Description |
---|---|
void |
ObjectId.Externalizer.writeObject(ObjectOutput output,
ObjectId id) |
Modifier and Type | Method and Description |
---|---|
ObjectId |
DocumentValueFactory.createObjectId(byte[] bytes) |
ObjectId |
DefaultDocumentValueFactory.createObjectId(byte[] bytes) |
ObjectId |
DocumentValueFactory.createObjectId(int time,
int machine,
int process,
int inc) |
ObjectId |
DefaultDocumentValueFactory.createObjectId(int time,
int machine,
int process,
int inc) |
ObjectId |
DocumentValueFactory.createObjectId(String hex) |
ObjectId |
DefaultDocumentValueFactory.createObjectId(String hex) |
ObjectId |
DocumentEditor.getObjectId(String name) |
ObjectId |
BasicDocument.getObjectId(String name) |
ObjectId |
BasicArray.getObjectId(String name) |
ObjectId |
ArrayEditor.getObjectId(String name) |
static ObjectId |
BsonUtils.readObjectId(byte[] bytes)
The BSON specification (or rather the MongoDB
documentation) defines the structure of this data:
"A BSON ObjectID is a 12-byte value consisting of a 4-byte timestamp (seconds since epoch), a 3-byte machine id, a 2-byte process id, and a 3-byte counter. |
static ObjectId |
BsonUtils.readObjectId(String bytesInHex)
Read the
ObjectId from the hexadecimal string representation of the ObjectId. |
Modifier and Type | Method and Description |
---|---|
protected void |
CompactJsonWriter.write(ObjectId value,
Writer writer) |
protected void |
BsonWriter.write(String name,
ObjectId value,
BsonDataOutput output) |
static void |
BsonUtils.writeObjectId(ObjectId id,
byte[] b)
Write the 12-byte representation of the ObjectId per the BSON specification (or rather the MongoDB documentation).
|
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.