Index

B C D E G H I L M N O P R T U V 
All Classes and Interfaces|All Packages|Serialized Form

B

binaryFormatMajorVersion() - Method in record class com.maxmind.db.Metadata
Returns the value of the binaryFormatMajorVersion record component.
binaryFormatMinorVersion() - Method in record class com.maxmind.db.Metadata
Returns the value of the binaryFormatMinorVersion record component.
buildEpoch() - Method in record class com.maxmind.db.Metadata
Returns the value of the buildEpoch record component.
buildTime() - Method in record class com.maxmind.db.Metadata
 

C

CacheKey<T> - Record Class in com.maxmind.db
CacheKey is used as a key in the data-section cache.
CacheKey(long, Class, Type) - Constructor for record class com.maxmind.db.CacheKey
Creates an instance of a CacheKey record class.
CHMCache - Class in com.maxmind.db
A simplistic cache using a ConcurrentHashMap.
CHMCache() - Constructor for class com.maxmind.db.CHMCache
Creates a new cache with the default capacity.
CHMCache(int) - Constructor for class com.maxmind.db.CHMCache
Creates a new cache with the specified capacity.
close() - Method in class com.maxmind.db.Reader
Closes the database.
ClosedDatabaseException - Exception Class in com.maxmind.db
Signals that the underlying database has been closed.
cls() - Method in record class com.maxmind.db.CacheKey
Returns the value of the cls record component.
com.maxmind.db - module com.maxmind.db
 
com.maxmind.db - package com.maxmind.db
 
ConstructorNotFoundException - Exception Class in com.maxmind.db
Signals that no annotated constructor was found.

D

data() - Method in record class com.maxmind.db.DatabaseRecord
Returns the value of the data record component.
DatabaseRecord<T> - Record Class in com.maxmind.db
DatabaseRecord represents the data and metadata associated with a database lookup.
DatabaseRecord(T, Network) - Constructor for record class com.maxmind.db.DatabaseRecord
Creates an instance of a DatabaseRecord record class.
databaseType() - Method in record class com.maxmind.db.Metadata
Returns the value of the databaseType record component.
defaultValue() - Element in annotation interface com.maxmind.db.MaxMindDbParameter
The default value as a string.
description() - Method in record class com.maxmind.db.Metadata
Returns the value of the description record component.
DeserializationException - Exception Class in com.maxmind.db
Signals that the value could not be deserialized into the type.

E

equals(Object) - Method in record class com.maxmind.db.CacheKey
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.maxmind.db.DatabaseRecord
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.maxmind.db.Metadata
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.maxmind.db.Network
Indicates whether some other object is "equal to" this one.

G

get(CacheKey, NodeCache.Loader) - Method in class com.maxmind.db.CHMCache
 
get(CacheKey, NodeCache.Loader) - Method in class com.maxmind.db.NoCache
 
get(CacheKey, NodeCache.Loader) - Method in interface com.maxmind.db.NodeCache
This method returns the value for the key.
get(InetAddress, Class) - Method in class com.maxmind.db.Reader
Looks up ipAddress in the MaxMind DB.
getInstance() - Static method in class com.maxmind.db.NoCache
 
getMetadata() - Method in class com.maxmind.db.Reader
 
getRecord(InetAddress, Class) - Method in class com.maxmind.db.Reader
Looks up ipAddress in the MaxMind DB.

H

hashCode() - Method in record class com.maxmind.db.CacheKey
Returns a hash code value for this object.
hashCode() - Method in record class com.maxmind.db.DatabaseRecord
Returns a hash code value for this object.
hashCode() - Method in record class com.maxmind.db.Metadata
Returns a hash code value for this object.
hashCode() - Method in record class com.maxmind.db.Network
Returns a hash code value for this object.
hasNext() - Method in class com.maxmind.db.Networks
hasNext prepares the next network for reading with the Network method.

I

InvalidDatabaseException - Exception Class in com.maxmind.db
Signals that there was an issue reading from the MaxMind DB file due to unexpected data formatting.
InvalidDatabaseException(String) - Constructor for exception class com.maxmind.db.InvalidDatabaseException
 
InvalidDatabaseException(String, Throwable) - Constructor for exception class com.maxmind.db.InvalidDatabaseException
 
InvalidNetworkException - Exception Class in com.maxmind.db
This is a custom exception that is thrown when the user attempts to use an IPv6 address in an IPv4-only database.
InvalidNetworkException(InetAddress) - Constructor for exception class com.maxmind.db.InvalidNetworkException
 
ipAddress() - Method in record class com.maxmind.db.Network
Returns the value of the ipAddress record component.
ipVersion() - Method in record class com.maxmind.db.Metadata
Returns the value of the ipVersion record component.

L

languages() - Method in record class com.maxmind.db.Metadata
Returns the value of the languages record component.
load(CacheKey) - Method in interface com.maxmind.db.NodeCache.Loader
 

M

MaxMindDbConstructor - Annotation Interface in com.maxmind.db
MaxMindDbConstructor is an annotation that can be used to mark a constructor that should be used to create an instance of a class when decoding a MaxMind DB file.
MaxMindDbCreator - Annotation Interface in com.maxmind.db
MaxMindDbCreator is an annotation that can be used to mark a static factory method or constructor that should be used to create an instance of a class from a decoded value when decoding a MaxMind DB file.
MaxMindDbIpAddress - Annotation Interface in com.maxmind.db
Marks a constructor parameter that should receive the IP address used for the lookup.
MaxMindDbNetwork - Annotation Interface in com.maxmind.db
Marks a constructor parameter that should receive the network associated with the record returned by the lookup.
MaxMindDbParameter - Annotation Interface in com.maxmind.db
Interface for a MaxMind DB parameter.
MEMORY - Enum constant in enum class com.maxmind.db.Reader.FileMode
Loads the database into memory when the reader is constructed.
MEMORY_MAPPED - Enum constant in enum class com.maxmind.db.Reader.FileMode
The default file mode.
Metadata - Record Class in com.maxmind.db
Metadata holds data associated with the database itself.
Metadata(int, int, BigInteger, String, List, Map, int, long, int) - Constructor for record class com.maxmind.db.Metadata
Compact constructor for the Metadata record.

N

name() - Element in annotation interface com.maxmind.db.MaxMindDbParameter
 
network() - Method in record class com.maxmind.db.DatabaseRecord
Returns the value of the network record component.
Network - Record Class in com.maxmind.db
Network represents an IP network.
Network(InetAddress, int) - Constructor for record class com.maxmind.db.Network
Creates an instance of a Network record class.
networkAddress() - Method in record class com.maxmind.db.Network
 
networks(boolean, Class) - Method in class com.maxmind.db.Reader
Creates a Networks iterator.
networks(Class) - Method in class com.maxmind.db.Reader
Creates a Networks iterator and skips aliased networks.
Networks<T> - Class in com.maxmind.db
Instances of this class provide an iterator over the networks in a database.
NetworksIterationException - Exception Class in com.maxmind.db
This class represents an error encountered while iterating over the networks.
networksWithin(Network, boolean, Class) - Method in class com.maxmind.db.Reader
Returns an iterator within the specified network.
next() - Method in class com.maxmind.db.Networks
Returns the next DataRecord.
NoCache - Class in com.maxmind.db
A no-op cache singleton.
NodeCache - Interface in com.maxmind.db
NodeCache is an interface for a cache that stores decoded values from the data section of the database.
NodeCache.Loader - Interface in com.maxmind.db
A loader is used to load a value for a key that is not in the cache.
nodeCount() - Method in record class com.maxmind.db.Metadata
Returns the value of the nodeCount record component.

O

offset() - Method in record class com.maxmind.db.CacheKey
Returns the value of the offset record component.

P

ParameterNotFoundException - Exception Class in com.maxmind.db
Signals that no annotated parameter was found.
prefixLength() - Method in record class com.maxmind.db.Network
Returns the value of the prefixLength record component.

R

Reader - Class in com.maxmind.db
Instances of this class provide a reader for the MaxMind DB format.
Reader(File) - Constructor for class com.maxmind.db.Reader
Constructs a Reader for the MaxMind DB format, with no caching.
Reader(File, NodeCache) - Constructor for class com.maxmind.db.Reader
Constructs a Reader for the MaxMind DB format, with the specified backing cache.
Reader(File, Reader.FileMode) - Constructor for class com.maxmind.db.Reader
Constructs a Reader for the MaxMind DB format, with no caching.
Reader(File, Reader.FileMode, NodeCache) - Constructor for class com.maxmind.db.Reader
Constructs a Reader for the MaxMind DB format, with the specified backing cache.
Reader(InputStream) - Constructor for class com.maxmind.db.Reader
Constructs a Reader with no caching, as if in mode Reader.FileMode.MEMORY, without using a File instance.
Reader(InputStream, NodeCache) - Constructor for class com.maxmind.db.Reader
Constructs a Reader with the specified backing cache, as if in mode Reader.FileMode.MEMORY, without using a File instance.
Reader.FileMode - Enum Class in com.maxmind.db
The file mode to use when opening a MaxMind DB.
recordSize() - Method in record class com.maxmind.db.Metadata
Returns the value of the recordSize record component.

T

toString() - Method in record class com.maxmind.db.CacheKey
Returns a string representation of this record class.
toString() - Method in record class com.maxmind.db.DatabaseRecord
Returns a string representation of this record class.
toString() - Method in record class com.maxmind.db.Metadata
Returns a string representation of this record class.
toString() - Method in record class com.maxmind.db.Network
Returns a string representation of this record class.
type() - Method in record class com.maxmind.db.CacheKey
Returns the value of the type record component.

U

useDefault() - Element in annotation interface com.maxmind.db.MaxMindDbParameter
Whether to use a default when the value is missing in the database.

V

valueOf(String) - Static method in enum class com.maxmind.db.Reader.FileMode
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.maxmind.db.Reader.FileMode
Returns an array containing the constants of this enum class, in the order they are declared.
B C D E G H I L M N O P R T U V 
All Classes and Interfaces|All Packages|Serialized Form