Oracle NoSQL Database Examples
version 11gR2.2.0.26
A B C D E F G H I J K L M N P R S T U V W Z

A

Address - Class in avro
 
Address() - Constructor for class avro.Address
 
address - Variable in class avro.MemberInfo
Deprecated. 
Address.Builder - Class in avro
RecordBuilder for Address instances.
age - Variable in class avro.MemberInfo
Deprecated. 
avro - package avro
A client application that illustrates the use of Avro bindings.

B

Bindings - Class in schema
Contains the Avro schemas and bindings used to perform serialization of the Value in a kv pair.
Bindings(AvroCatalog) - Constructor for class schema.Bindings
 
build() - Method in class avro.Address.Builder
 
build() - Method in class avro.FullName.Builder
 
build() - Method in class avro.MemberInfo.Builder
 

C

city - Variable in class avro.Address
Deprecated. 
clearAddress() - Method in class avro.MemberInfo.Builder
Clears the value of the 'address' field
clearAge() - Method in class avro.MemberInfo.Builder
Clears the value of the 'age' field
clearCity() - Method in class avro.Address.Builder
Clears the value of the 'city' field
clearFirst() - Method in class avro.FullName.Builder
Clears the value of the 'first' field
clearLast() - Method in class avro.FullName.Builder
Clears the value of the 'last' field
clearName() - Method in class avro.MemberInfo.Builder
Clears the value of the 'name' field
clearState() - Method in class avro.Address.Builder
Clears the value of the 'state' field
clearStreet() - Method in class avro.Address.Builder
Clears the value of the 'street' field
clearZip() - Method in class avro.Address.Builder
Clears the value of the 'zip' field
CountMinorKeys - Class in hadoop
A simple example demonstrating how to use the Oracle NoSQL DB Hadoop oracle.kv.hadoop.KVInputFormat class to read data from NoSQL Database in a Map/Reduce job and count the number of records for each major key in the store.
CountMinorKeys() - Constructor for class hadoop.CountMinorKeys
 
CountMinorKeys.Map - Class in hadoop
 
CountMinorKeys.Map() - Constructor for class hadoop.CountMinorKeys.Map
 
CountMinorKeys.Reduce - Class in hadoop
 
CountMinorKeys.Reduce() - Constructor for class hadoop.CountMinorKeys.Reduce
 
CUTOFF_LOGIN_DATE - Static variable in class schema.InputData
 

D

DATE_TIME_FORMAT - Static variable in class schema.KeyDefinition
 
delete(Key) - Method in class schema.WriteOperations
Calls KVStore.delete and performs retries if a FaultException is thrown.
delete(Key, ReturnValueVersion, Durability, long, TimeUnit) - Method in class schema.WriteOperations
Calls KVStore.delete and performs retries if a FaultException is thrown.
deleteIfVersion(Key, Version) - Method in class schema.WriteOperations
Calls KVStore.deleteIfVersion and performs retries if a FaultException is thrown.
deleteIfVersion(Key, Version, ReturnValueVersion, Durability, long, TimeUnit) - Method in class schema.WriteOperations
Calls KVStore.deleteIfVersion and performs retries if a FaultException is thrown.
deserializeAny(Bindings, Key, Value) - Static method in class schema.KeyDefinition
Translates the given Key/Value to its corresponding Java object.
doOperation() - Method in class schema.RunOperation
Must be implemented to perform the operation.
doWrite(long) - Method in class schema.WriteOperations.WriteOp
Implemented for each write operation.

E

execute(List<Operation>) - Method in class schema.WriteOperations
Calls KVStore.execute and performs retries if a FaultException is thrown.
execute(List<Operation>, Durability, long, TimeUnit) - Method in class schema.WriteOperations
Calls KVStore.execute and performs retries if a FaultException is thrown.
externaltables - package externaltables
Classes used in the simple External Tables Cookbook.

F

first - Variable in class avro.FullName
Deprecated. 
formatDuration(long) - Static method in class schema.KeyDefinition
Formats a time duration for reporting purposes.
formatTimestamp(long) - Static method in class schema.KeyDefinition
Returns a timestamp String for the given time in millis.
FullName - Class in avro
 
FullName() - Constructor for class avro.FullName
 
FullName.Builder - Class in avro
RecordBuilder for FullName instances.

G

Gender - Enum in schema
Enumeration of Gender values.
GenericExample - Class in avro
A simple KVStore client application that represents a Value as a GenericRecord object using the Avro API, and serializes values using a GenericAvroBinding.
GenericExample(String[]) - Constructor for class avro.GenericExample
Parses the command line args, opens the KVStore, parses the Avro schemas and creates the Avro binding.
get(int) - Method in class avro.Address
 
get(int) - Method in class avro.FullName
 
get(int) - Method in class avro.MemberInfo
 
getAddress() - Method in class avro.MemberInfo.Builder
Gets the value of the 'address' field
getAddress() - Method in class avro.MemberInfo
Gets the value of the 'address' field.
getAddress() - Method in class externaltables.UserInfo
Returns the address attribute.
getAddress() - Method in class schema.UserInfo
Returns the address attribute.
getAge() - Method in class avro.MemberInfo.Builder
Gets the value of the 'age' field
getAge() - Method in class avro.MemberInfo
Gets the value of the 'age' field.
getCity() - Method in class avro.Address.Builder
Gets the value of the 'city' field
getCity() - Method in class avro.Address
Gets the value of the 'city' field.
getEmail() - Method in class externaltables.UserInfo
Returns the email identifier.
getEmail() - Method in class schema.LoginSession
Returns the email identifier.
getEmail() - Method in class schema.LoginSummary
Returns the email identifier.
getEmail() - Method in class schema.UserImage
Returns the email identifier.
getEmail() - Method in class schema.UserInfo
Returns the email identifier.
getFirst() - Method in class avro.FullName.Builder
Gets the value of the 'first' field
getFirst() - Method in class avro.FullName
Gets the value of the 'first' field.
getGender() - Method in class externaltables.UserInfo
Returns the gender attribute.
getGender() - Method in class schema.UserInfo
Returns the gender attribute.
getGenderSchema() - Method in class schema.Bindings
 
getImage() - Method in class schema.UserImage
Returns the image bytes.
getLast() - Method in class avro.FullName.Builder
Gets the value of the 'last' field
getLast() - Method in class avro.FullName
Gets the value of the 'last' field.
getLoginSessionBinding() - Method in class schema.Bindings
 
getLoginSessionSchema() - Method in class schema.Bindings
 
getLoginSummaryBinding() - Method in class schema.Bindings
 
getLoginSummarySchema() - Method in class schema.Bindings
 
getLoginTime() - Method in class schema.LoginSession
Returns the login time identifier.
getName() - Method in class avro.MemberInfo.Builder
Gets the value of the 'name' field
getName() - Method in class avro.MemberInfo
Gets the value of the 'name' field.
getName() - Method in class externaltables.UserInfo
Returns the name attribute.
getName() - Method in class schema.UserInfo
Returns the name attribute.
getPhone() - Method in class externaltables.UserInfo
Returns the phone attribute.
getPhone() - Method in class schema.UserInfo
Returns the phone attribute.
getSchema() - Method in class avro.Address
 
getSchema() - Method in class avro.FullName
 
getSchema() - Method in class avro.MemberInfo
 
getSessionDuration() - Method in class schema.LoginSession
Returns the session duration.
getSessionLoginTime(Key) - Static method in class schema.KeyDefinition
Returns the login time in millis for a given LoginSession Key.
getState() - Method in class avro.Address.Builder
Gets the value of the 'state' field
getState() - Method in class avro.Address
Gets the value of the 'state' field.
getStoreKey() - Method in class externaltables.UserInfo
Returns a Key that can be used to write or read the UserInfo.
getStoreKey() - Method in class schema.LoginSession
Returns a Key that can be used to write or read the LoginSession.
getStoreKey() - Method in class schema.LoginSummary
Returns a Key that can be used to write or read the LoginSummary.
getStoreKey() - Method in class schema.UserImage
Returns a Key that can be used to write or read the UserImage.
getStoreKey() - Method in class schema.UserInfo
Returns a Key that can be used to write or read the UserInfo.
getStoreValue() - Method in class externaltables.UserInfo
Serializes user info attributes into the byte array of a Value.
getStoreValue(Bindings) - Method in class schema.LoginSession
Serializes the only attribute, session duration, into the byte array of a Value.
getStoreValue(Bindings) - Method in class schema.LoginSummary
Serializes the summary attributes into the byte array of a Value.
getStoreValue(Bindings) - Method in class schema.UserImage
Deserializes the image into the byte array of a Value.
getStoreValue(Bindings) - Method in class schema.UserInfo
Serializes user info attributes into the byte array of a Value.
getStreet() - Method in class avro.Address.Builder
Gets the value of the 'street' field
getStreet() - Method in class avro.Address
Gets the value of the 'street' field.
getTotalLoginCount() - Method in class schema.LoginSummary
Returns the total login count.
getTotalLoginDuration() - Method in class schema.LoginSummary
Returns the total login duration.
getUserEmail(Key) - Static method in class schema.KeyDefinition
Returns the email address for a given Key.
getUserImageBinding() - Method in class schema.Bindings
 
getUserImageSchema() - Method in class schema.Bindings
 
getUserInfoBinding() - Method in class schema.Bindings
 
getUserInfoSchema() - Method in class schema.Bindings
 
getZip() - Method in class avro.Address.Builder
Gets the value of the 'zip' field
getZip() - Method in class avro.Address
Gets the value of the 'zip' field.

H

hadoop - package hadoop
 
hasAddress() - Method in class avro.MemberInfo.Builder
Checks whether the 'address' field has been set
hasAge() - Method in class avro.MemberInfo.Builder
Checks whether the 'age' field has been set
hasCity() - Method in class avro.Address.Builder
Checks whether the 'city' field has been set
hasFirst() - Method in class avro.FullName.Builder
Checks whether the 'first' field has been set
hasLast() - Method in class avro.FullName.Builder
Checks whether the 'last' field has been set
hasName() - Method in class avro.MemberInfo.Builder
Checks whether the 'name' field has been set
hasState() - Method in class avro.Address.Builder
Checks whether the 'state' field has been set
hasStreet() - Method in class avro.Address.Builder
Checks whether the 'street' field has been set
hasZip() - Method in class avro.Address.Builder
Checks whether the 'zip' field has been set
hello - package hello
An extremely simple client application that writes and reads a single record.
HelloBigDataWorld - Class in hello
An extremely simple KVStore client application that writes and reads a single record.
HelloBigDataWorld(String[]) - Constructor for class hello.HelloBigDataWorld
Parses command line args and opens the KVStore.

I

IMAGE_PROPERTY_NAME - Static variable in class schema.KeyDefinition
 
INFO_PROPERTY_NAME - Static variable in class schema.KeyDefinition
 
InputData - Class in schema
Boring static input data.
InputData() - Constructor for class schema.InputData
 

J

JsonExample - Class in avro
A simple KVStore client application that represents a Value as a JsonNode object using the Jackson API, and serializes values using a JsonAvroBinding.
JsonExample(String[]) - Constructor for class avro.JsonExample
Parses the command line args, opens the KVStore, parses the Avro schemas and creates the Avro binding.

K

KeyDefinition - Class in schema
Defines the use of Keys in this application.
KeyDefinition() - Constructor for class schema.KeyDefinition
 

L

last - Variable in class avro.FullName
Deprecated. 
LoadCookbookData - Class in externaltables
A class used in the External Tables Cookbook example to create sample records in the NoSQL Database.
LoadCookbookData(String[]) - Constructor for class externaltables.LoadCookbookData
Parses command line args and opens the KVStore.
LOGIN_PROPERTY_NAME - Static variable in class schema.KeyDefinition
 
LOGIN_TIMES - Static variable in class schema.InputData
 
LoginSession - Class in schema
Holds the session duration attribute that is stored as the Value for the "/user/EMAIL/-/login/TIMESTAMP" Key.
LoginSession(String, long) - Constructor for class schema.LoginSession
Constructs a user object with its unique identifiers, the email address and login time.
LoginSummary - Class in schema
Holds the session summary attributes that are stored as the Value for the "/user/EMAIL/-/login" Key.
LoginSummary(String) - Constructor for class schema.LoginSummary
Constructs a user object with its unique identifier, the email address.

M

main(String[]) - Static method in class avro.GenericExample
Runs the GenericExample command line program.
main(String[]) - Static method in class avro.JsonExample
Runs the JsonExample command line program.
main(String[]) - Static method in class avro.SpecificExample
Runs the SpecificExample command line program.
main(String[]) - Static method in class externaltables.LoadCookbookData
 
main(String[]) - Static method in class hadoop.CountMinorKeys
 
main(String[]) - Static method in class hello.HelloBigDataWorld
Runs the HelloBigDataWorld command line program.
main(String[]) - Static method in class schema.SchemaExample
Runs the SchemaExample command line program.
makeLoginSessionKey(String, long) - Static method in class schema.KeyDefinition
Returns a Key that can be used to access LoginSession Key/Value pairs.
makeLoginSummaryKey(String) - Static method in class schema.KeyDefinition
Returns a Key that can be used to access LoginSummary Key/Value pairs.
makeUserImageKey(String) - Static method in class schema.KeyDefinition
Returns a Key that can be used to access UserImage Key/Value pairs.
makeUserInfoKey(String) - Static method in class schema.KeyDefinition
Returns a Key that can be used to access UserInfo Key/Value pairs.
makeUserTypeKey() - Static method in class schema.KeyDefinition
Returns a Key that can be used as a parentKey to select all user Key/Value pairs when using KVStore.storeIterator or storeKeysIterator.
map(Text, Text, Mapper<Text, Text, Text, IntWritable>.Context) - Method in class hadoop.CountMinorKeys.Map
 
MAX_SESSION_DURATION - Static variable in class schema.InputData
 
MemberInfo - Class in avro
 
MemberInfo() - Constructor for class avro.MemberInfo
 
MemberInfo.Builder - Class in avro
RecordBuilder for MemberInfo instances.
multiDelete(Key, KeyRange, Depth) - Method in class schema.WriteOperations
Calls KVStore.multiDelete and performs retries if a FaultException is thrown.
multiDelete(Key, KeyRange, Depth, Durability, long, TimeUnit) - Method in class schema.WriteOperations
Calls KVStore.multiDelete and performs retries if a FaultException is thrown.
MyFormatter - Class in externaltables
A simple Formatter implementation used by the External Tables Cookbook example.

N

N_USERS - Static variable in class schema.InputData
 
name - Variable in class avro.MemberInfo
Deprecated. 
newBuilder() - Static method in class avro.Address
Creates a new Address RecordBuilder
newBuilder(Address.Builder) - Static method in class avro.Address
Creates a new Address RecordBuilder by copying an existing Builder
newBuilder(Address) - Static method in class avro.Address
Creates a new Address RecordBuilder by copying an existing Address instance
newBuilder() - Static method in class avro.FullName
Creates a new FullName RecordBuilder
newBuilder(FullName.Builder) - Static method in class avro.FullName
Creates a new FullName RecordBuilder by copying an existing Builder
newBuilder(FullName) - Static method in class avro.FullName
Creates a new FullName RecordBuilder by copying an existing FullName instance
newBuilder() - Static method in class avro.MemberInfo
Creates a new MemberInfo RecordBuilder
newBuilder(MemberInfo.Builder) - Static method in class avro.MemberInfo
Creates a new MemberInfo RecordBuilder by copying an existing Builder
newBuilder(MemberInfo) - Static method in class avro.MemberInfo
Creates a new MemberInfo RecordBuilder by copying an existing MemberInfo instance

P

parseTimestamp(String) - Static method in class schema.KeyDefinition
Parses the timestamp and returns the time in millis.
put(int, Object) - Method in class avro.Address
 
put(int, Object) - Method in class avro.FullName
 
put(int, Object) - Method in class avro.MemberInfo
 
put(Key, Value) - Method in class schema.WriteOperations
Calls KVStore.put and performs retries if a FaultException is thrown.
put(Key, Value, ReturnValueVersion, Durability, long, TimeUnit) - Method in class schema.WriteOperations
Calls KVStore.put and performs retries if a FaultException is thrown.
putIfAbsent(Key, Value) - Method in class schema.WriteOperations
Calls KVStore.putIfAbsent and performs retries if a FaultException is thrown.
putIfAbsent(Key, Value, ReturnValueVersion, Durability, long, TimeUnit) - Method in class schema.WriteOperations
Calls KVStore.putIfAbsent and performs retries if a FaultException is thrown.
putIfPresent(Key, Value) - Method in class schema.WriteOperations
Calls KVStore.putIfPresent and performs retries if a FaultException is thrown.
putIfPresent(Key, Value, ReturnValueVersion, Durability, long, TimeUnit) - Method in class schema.WriteOperations
Calls KVStore.putIfPresent and performs retries if a FaultException is thrown.
putIfVersion(Key, Value, Version) - Method in class schema.WriteOperations
Calls KVStore.putIfVersion and performs retries if a FaultException is thrown.
putIfVersion(Key, Value, Version, ReturnValueVersion, Durability, long, TimeUnit) - Method in class schema.WriteOperations
Calls KVStore.putIfVersion and performs retries if a FaultException is thrown.

R

run(String[]) - Method in class hadoop.CountMinorKeys
 
run() - Method in class schema.RunOperation
Calls the doOperation method and handles exceptions as needed.
run() - Method in class schema.WriteOperations.WriteOp
Calls the doWrite method and perform retries when a FaultException is thrown.
runExample() - Method in class avro.GenericExample
Insert a kv pair if it doesn't exist, or read/update it if it does.
runExample() - Method in class avro.JsonExample
Insert a kv pair if it doesn't exist, or read/update it if it does.
runExample() - Method in class avro.SpecificExample
Insert a kv pair if it doesn't exist, or read/update it if it does.
runExample() - Method in class hello.HelloBigDataWorld
Performs example operations and closes the KVStore.
runExample() - Method in class schema.SchemaExample
Performs example operations and closes the KVStore.
RunOperation - Class in schema
Utility class to run a KVStore operation and handle FaultExceptions according to this application's policies.
RunOperation() - Constructor for class schema.RunOperation
 

S

schema - package schema
A client application that illustrates basic schema design.
SCHEMA$ - Static variable in class avro.Address
 
SCHEMA$ - Static variable in class avro.FullName
 
SCHEMA$ - Static variable in class avro.MemberInfo
 
SchemaExample - Class in schema
A KVStore client application that illustrates basic schema design.
SchemaExample(String[]) - Constructor for class schema.SchemaExample
Parses command line args and opens the KVStore.
SESSION_DURATION_INCR - Static variable in class schema.InputData
 
SESSION_DURATIONS - Static variable in class schema.InputData
 
setAddress(Address) - Method in class avro.MemberInfo.Builder
Sets the value of the 'address' field
setAddress(Address) - Method in class avro.MemberInfo
Sets the value of the 'address' field.
setAddress(String) - Method in class externaltables.UserInfo
Changes the address attribute.
setAddress(String) - Method in class schema.UserInfo
Changes the address attribute.
setAge(int) - Method in class avro.MemberInfo.Builder
Sets the value of the 'age' field
setAge(Integer) - Method in class avro.MemberInfo
Sets the value of the 'age' field.
setCity(String) - Method in class avro.Address.Builder
Sets the value of the 'city' field
setCity(String) - Method in class avro.Address
Sets the value of the 'city' field.
setFirst(String) - Method in class avro.FullName.Builder
Sets the value of the 'first' field
setFirst(String) - Method in class avro.FullName
Sets the value of the 'first' field.
setGender(char) - Method in class externaltables.UserInfo
Changes the gender attribute.
setGender(Gender) - Method in class schema.UserInfo
Changes the gender attribute.
setImage(byte[]) - Method in class schema.UserImage
Changes the image bytes.
setLast(String) - Method in class avro.FullName.Builder
Sets the value of the 'last' field
setLast(String) - Method in class avro.FullName
Sets the value of the 'last' field.
setName(FullName) - Method in class avro.MemberInfo.Builder
Sets the value of the 'name' field
setName(FullName) - Method in class avro.MemberInfo
Sets the value of the 'name' field.
setName(String) - Method in class externaltables.UserInfo
Changes the name attribute.
setName(String) - Method in class schema.UserInfo
Changes the name attribute.
setPhone(String) - Method in class externaltables.UserInfo
Changes the phone attribute.
setPhone(String) - Method in class schema.UserInfo
Changes the phone attribute.
setSessionDuration(int) - Method in class schema.LoginSession
Changes the session duration.
setState(String) - Method in class avro.Address.Builder
Sets the value of the 'state' field
setState(String) - Method in class avro.Address
Sets the value of the 'state' field.
setStoreValue(Bindings, Value) - Method in class schema.LoginSession
Deserializes the only attribute, session duration, from the byte array of a Value.
setStoreValue(Bindings, Value) - Method in class schema.LoginSummary
Deserializes the summary attributes from the byte array of a Value.
setStoreValue(Bindings, Value) - Method in class schema.UserImage
Deserializes the image from the byte array of a Value.
setStoreValue(Bindings, Value) - Method in class schema.UserInfo
Deserializes user info attributes from the byte array of a Value.
setStreet(String) - Method in class avro.Address.Builder
Sets the value of the 'street' field
setStreet(String) - Method in class avro.Address
Sets the value of the 'street' field.
setTotalLoginCount(int) - Method in class schema.LoginSummary
Changes the total login count.
setTotalLoginDuration(long) - Method in class schema.LoginSummary
Changes the total login duration.
setZip(int) - Method in class avro.Address.Builder
Sets the value of the 'zip' field
setZip(Integer) - Method in class avro.Address
Sets the value of the 'zip' field.
SpecificExample - Class in avro
A simple KVStore client application that represents a Value as a a POJO (or Plain Old Java Object) class that is generated by the Avro compiler tools and serializes values using a SpecificAvroBinding.
SpecificExample(String[]) - Constructor for class avro.SpecificExample
Parses the command line args, opens the KVStore and creates the Avro binding.
state - Variable in class avro.Address
Deprecated. 
street - Variable in class avro.Address
Deprecated. 

T

TIME_FORMAT - Static variable in class schema.KeyDefinition
 
toOracleLoaderFormat(KeyValueVersion, KVStore) - Method in class externaltables.MyFormatter
 
toString() - Method in class externaltables.UserInfo
 
toString() - Method in class schema.LoginSession
 
toString() - Method in class schema.LoginSummary
 
toString() - Method in class schema.UserImage
 
toString() - Method in class schema.UserInfo
 

U

USER_EMAIL - Static variable in class schema.InputData
 
USER_IMAGE - Static variable in class schema.InputData
 
USER_INFO - Static variable in class schema.InputData
 
USER_OBJECT_TYPE - Static variable in class externaltables.LoadCookbookData
 
USER_OBJECT_TYPE - Static variable in class schema.KeyDefinition
 
UserImage - Class in schema
Holds the image user attribute that is stored as the Value for the "/user/EMAIL/-/image" Key.
UserImage(String) - Constructor for class schema.UserImage
Constructs a user object with its unique identifier, the email address.
UserInfo - Class in externaltables
A simple class which represents a User in the External Tables Cookbook example.
UserInfo(String) - Constructor for class externaltables.UserInfo
Constructs a user object with its unique identifier, the email address.
UserInfo - Class in schema
Holds the collection of user attributes that is stored as the Value for the "/user/EMAIL/-/info" Key.
UserInfo(String) - Constructor for class schema.UserInfo
Constructs a user object with its unique identifier, the email address.

V

valueOf(String) - Static method in enum schema.Gender
Returns the enum constant of this type with the specified name.
values() - Static method in enum schema.Gender
Returns an array containing the constants of this enum type, in the order they are declared.

W

WriteOperations - Class in schema
Performs write operations and retries the operation when a FaultException occurs in order to handle transient network failures.
WriteOperations(KVStore, KVStoreConfig) - Constructor for class schema.WriteOperations
Creates a WriteOperations wrapper for a given KVStore.
WriteOperations.WriteOp<R,E extends Exception> - Class in schema
Internal class used to perform retries for a write operation.
WriteOperations.WriteOp(long, TimeUnit) - Constructor for class schema.WriteOperations.WriteOp
Creates the write operation with the requested timeout parameters.

Z

zip - Variable in class avro.Address
Deprecated. 

A B C D E F G H I J K L M N P R S T U V W Z
Oracle NoSQL Database Examples
version 11gR2.2.0.26

Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.