org.ejdb.driver
Class EJDBCollection.Options
java.lang.Object
org.ejdb.driver.EJDBCollection.Options
- Enclosing class:
- EJDBCollection
public static class EJDBCollection.Options
- extends java.lang.Object
Collection meta information (and creation options)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EJDBCollection.Options
public EJDBCollection.Options()
EJDBCollection.Options
public EJDBCollection.Options(boolean compressed,
boolean large,
long records,
int cachedRecords)
- Parameters:
compressed
- If true
collection records will be compressed with DEFLATE compression. Default: false
.large
- Specifies that the size of the database can be larger than 2GB. Default: false
.records
- Estimated number of records in this collection. Default: 65535.cachedRecords
- Max number of cached records in shared memory segment. Default: 0
getBuckets
public long getBuckets()
isCompressed
public boolean isCompressed()
isLarge
public boolean isLarge()
getCachedRecords
public int getCachedRecords()
toString
public java.lang.String toString()
-
- Overrides:
toString
in class java.lang.Object