schema
Class Bindings
java.lang.Object
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Bindings
Bindings(AvroCatalog avroCatalog)
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()
Copyright (c) 2011, 2013 Oracle and/or its affiliates. All rights reserved.