public class DbInfo
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DbInfo.PartitionedIndexes
Encapsulates partitioned index properties.
|
static class |
DbInfo.Props
Encapsulates database properties.
|
static class |
DbInfo.Sizes |
| Constructor and Description |
|---|
DbInfo() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDbName() |
int |
getDiskFormatVersion() |
long |
getDiskSize() |
long |
getDocCount() |
java.lang.String |
getDocDelCount()
Deprecated.
|
long |
getDocDelCountLong() |
long |
getInstanceStartTime() |
DbInfo.PartitionedIndexes |
getPartitionedIndexes()
Get the
DbInfo.PartitionedIndexes object for
this database. |
DbInfo.Props |
getProps()
Get the database properties.
|
long |
getPurgeSeq()
Deprecated.
|
DbInfo.Sizes |
getSizes() |
java.lang.String |
getStringPurgeSeq()
An opaque string that describes the state of purge operations across the database.
|
java.lang.String |
getUpdateSeq() |
boolean |
isCompactRunning() |
java.lang.String |
toString() |
public java.lang.String getDbName()
public long getDocCount()
@Deprecated public java.lang.String getDocDelCount()
getDocDelCountLong()public long getDocDelCountLong()
public java.lang.String getUpdateSeq()
@Deprecated public long getPurgeSeq()
getStringPurgeSeq() instead.
The value 0 is returned if the purged_seq field cannot be cast as a primitive long.
In later versions of CouchDB (>=2.3.x) purged_seq is an opaque string.public java.lang.String getStringPurgeSeq()
public boolean isCompactRunning()
public long getDiskSize()
public long getInstanceStartTime()
public int getDiskFormatVersion()
public DbInfo.Props getProps()
public DbInfo.PartitionedIndexes getPartitionedIndexes()
DbInfo.PartitionedIndexes object for
this database.DbInfo.PartitionedIndexes object,
containing metadata about partitioned indexes in this database.public DbInfo.Sizes getSizes()
public java.lang.String toString()
toString in class java.lang.Object