public class BuildInfo extends AdminCommand
This is a helper class for retrieving the version of the server:
{ "version" : "2.2.6", "gitVersion" : "nogitversion", "sysInfo" : "Linux buildvm-09.phx2.fedoraproject.org 2.6.32-358.14.1.el6.x86_64 #1 SMP Mon Jun 17 15:54:20 EDT 2013 x86_64 BOOST_LIB_VERSION=1_50", "versionArray" : [ 2, 2, 6, 0 ], "bits" : 64, "debug" : false, "maxBsonObjectSize" : 16777216, "ok" : 1 }
Modifier and Type | Field and Description |
---|---|
static Document |
BUILD_INFO
The ismaster "query" document.
|
ADMIN_DATABASE
COMMAND_COLLECTION
HEADER_SIZE, myCollectionName, myDatabaseName
Constructor and Description |
---|
BuildInfo()
Create a new IsMaster command.
|
equals, getCommand, getOperationName, getRoutingDocument, hashCode, isAllowJumbo, setAllowJumbo, size, toString, validateSize, write, write
finishHeader, getCollectionName, getDatabaseName, getReadPreference, getRequiredVersionRange, init, writeHeader, writeHeader
public static final Document BUILD_INFO
Copyright © 2011–2014 Allanbank Consulting, Inc.. All rights reserved.