Package | Description |
---|---|
com.mongodb.client.model.changestream |
This package contains classes for the change stream api
|
Modifier and Type | Field and Description |
---|---|
private OperationType |
ChangeStreamDocument.operationType |
Modifier and Type | Method and Description |
---|---|
OperationType |
OperationTypeCodec.decode(BsonReader reader,
DecoderContext decoderContext) |
static OperationType |
OperationType.fromString(java.lang.String operationTypeName)
Returns the ChangeStreamOperationType from the string value.
|
OperationType |
ChangeStreamDocument.getOperationType()
Returns the operationType
|
static OperationType |
OperationType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
OperationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<OperationType> |
OperationTypeCodec.getEncoderClass() |
Modifier and Type | Method and Description |
---|---|
void |
OperationTypeCodec.encode(BsonWriter writer,
OperationType value,
EncoderContext encoderContext) |
Constructor and Description |
---|
ChangeStreamDocument(BsonDocument resumeToken,
MongoNamespace namespace,
TDocument fullDocument,
BsonDocument documentKey,
OperationType operationType,
UpdateDescription updateDescription)
Creates a new instance
|