public class AdminCommand extends Command
Modifier and Type | Field and Description |
---|---|
static String |
ADMIN_DATABASE
The administration database name.
|
COMMAND_COLLECTION
AWAIT_DATA_FLAG_BIT, DEFAULT_BATCH_SIZE, EXHAUST_FLAG_BIT, NO_CURSOR_TIMEOUT_FLAG_BIT, OPLOG_REPLAY_FLAG_BIT, PARTIAL_FLAG_BIT, REPLICA_OK_FLAG_BIT, TAILABLE_CURSOR_FLAG_BIT
HEADER_SIZE, myCollectionName, myDatabaseName
Constructor and Description |
---|
AdminCommand(Document commandDocument)
Create a new Command.
|
equals, getBatchSize, getLimit, getNumberToReturn, getNumberToSkip, getQuery, getReturnFields, hashCode, isAwaitData, isBatchSizeSet, isExhaust, isLimitSet, isNoCursorTimeout, isPartial, isTailable, validateSize, write
getCollectionName, getDatabaseName, getReadPreference, init, writeHeader
public static final String ADMIN_DATABASE
public AdminCommand(Document commandDocument)
commandDocument
- The command document containing the command and options.Copyright © 2011-2013 Allanbank Consulting, Inc.. All Rights Reserved.