Package com.maxmind.db
Class Metadata
java.lang.Object
com.maxmind.db.Metadata
public final class Metadata extends Object
- 
Constructor Summary
- 
Method SummaryModifier and Type Method Description intgetBinaryFormatMajorVersion()intgetBinaryFormatMinorVersion()DategetBuildDate()StringgetDatabaseType()Map<String,String>getDescription()intgetIpVersion()List<String>getLanguages()(package private) intgetNodeByteSize()(package private) intgetNodeCount()(package private) intgetRecordSize()(package private) intgetSearchTreeSize()StringtoString()
- 
Constructor Details
- 
Method Details- 
getBinaryFormatMajorVersionpublic int getBinaryFormatMajorVersion()- Returns:
- the major version number for the database's binary format.
 
- 
getBinaryFormatMinorVersionpublic int getBinaryFormatMinorVersion()- Returns:
- the minor version number for the database's binary format.
 
- 
getBuildDate- Returns:
- the date of the database build.
 
- 
getDatabaseType- Returns:
- a string that indicates the structure of each data record associated with an IP address. The actual definition of these structures is left up to the database creator.
 
- 
getDescription- Returns:
- map from language code to description in that language.
 
- 
getIpVersionpublic int getIpVersion()- Returns:
- whether the database contains IPv4 or IPv6 address data. The only possible values are 4 and 6.
 
- 
getLanguages- Returns:
- list of languages supported by the database.
 
- 
getNodeByteSizeint getNodeByteSize()- Returns:
- the nodeByteSize
 
- 
getNodeCountint getNodeCount()- Returns:
- the number of nodes in the search tree.
 
- 
getRecordSizeint getRecordSize()- Returns:
- the number of bits in a record in the search tree. Note that each node consists of two records.
 
- 
getSearchTreeSizeint getSearchTreeSize()- Returns:
- the searchTreeSize
 
- 
toString
 
-