Oracle NoSQL Database Examples
version 11gR2.2.0.26

schema
Class Bindings

java.lang.Object
  extended by schema.Bindings

 class Bindings
extends Object

Contains the Avro schemas and bindings used to perform serialization of the Value in a kv pair. The Avro schemas are stored as resource files, and would normally be part of the application jar file.

In this example, GenericAvroBinding is used. Other types of bindings are also available. See the oracle.kv.avro package and the Oracle NoSQL Database Getting Started Guide for more information.


Constructor Summary
Bindings(AvroCatalog avroCatalog)
           
 
Method Summary
(package private)  org.apache.avro.Schema getGenderSchema()
           
(package private)  GenericAvroBinding getLoginSessionBinding()
           
(package private)  org.apache.avro.Schema getLoginSessionSchema()
           
(package private)  GenericAvroBinding getLoginSummaryBinding()
           
(package private)  org.apache.avro.Schema getLoginSummarySchema()
           
(package private)  GenericAvroBinding getUserImageBinding()
           
(package private)  org.apache.avro.Schema getUserImageSchema()
           
(package private)  GenericAvroBinding getUserInfoBinding()
           
(package private)  org.apache.avro.Schema getUserInfoSchema()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bindings

Bindings(AvroCatalog avroCatalog)
Method Detail

getGenderSchema

org.apache.avro.Schema getGenderSchema()

getUserInfoSchema

org.apache.avro.Schema getUserInfoSchema()

getUserImageSchema

org.apache.avro.Schema getUserImageSchema()

getLoginSessionSchema

org.apache.avro.Schema getLoginSessionSchema()

getLoginSummarySchema

org.apache.avro.Schema getLoginSummarySchema()

getUserInfoBinding

GenericAvroBinding getUserInfoBinding()

getUserImageBinding

GenericAvroBinding getUserImageBinding()

getLoginSessionBinding

GenericAvroBinding getLoginSessionBinding()

getLoginSummaryBinding

GenericAvroBinding getLoginSummaryBinding()

Oracle NoSQL Database Examples
version 11gR2.2.0.26

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