|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.kv.avro.JsonRecord
public class JsonRecord
A JsonRecord a represents an Avro object as a Schema
along with a
JsonNode
. It is used with a JsonAvroBinding
.
JsonAvroBinding
,
getJsonBinding
,
getJsonMultiBinding
Constructor Summary | |
---|---|
JsonRecord(JsonNode jsonNode,
Schema schema)
Creates a JsonRecord from a Schema and a JsonNode . |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
JsonNode |
getJsonNode()
Returns the JsonNode for this JsonRecord. |
Schema |
getSchema()
Returns the Avro Schema for this JsonRecord. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JsonRecord(JsonNode jsonNode, Schema schema)
Schema
and a JsonNode
.
Method Detail |
---|
public JsonNode getJsonNode()
JsonNode
for this JsonRecord.
public Schema getSchema()
Schema
for this JsonRecord.
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Oracle NoSQL Database version 11gR2.2.0.26 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |