Oracle NoSQL Database Examples
version 11gR2.2.0.26

avro
Class FullName

java.lang.Object
  extended by org.apache.avro.specific.SpecificRecordBase
      extended by avro.FullName
All Implemented Interfaces:
Comparable<org.apache.avro.specific.SpecificRecord>, org.apache.avro.generic.GenericContainer, org.apache.avro.generic.IndexedRecord, org.apache.avro.specific.SpecificRecord

public class FullName
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord


Nested Class Summary
static class FullName.Builder
          RecordBuilder for FullName instances.
 
Field Summary
 String first
          Deprecated. 
 String last
          Deprecated. 
static org.apache.avro.Schema SCHEMA$
           
 
Constructor Summary
FullName()
           
 
Method Summary
 Object get(int field$)
           
 String getFirst()
          Gets the value of the 'first' field.
 String getLast()
          Gets the value of the 'last' field.
 org.apache.avro.Schema getSchema()
           
static FullName.Builder newBuilder()
          Creates a new FullName RecordBuilder
static FullName.Builder newBuilder(FullName.Builder other)
          Creates a new FullName RecordBuilder by copying an existing Builder
static FullName.Builder newBuilder(FullName other)
          Creates a new FullName RecordBuilder by copying an existing FullName instance
 void put(int field$, Object value$)
           
 void setFirst(String value)
          Sets the value of the 'first' field.
 void setLast(String value)
          Sets the value of the 'last' field.
 
Methods inherited from class org.apache.avro.specific.SpecificRecordBase
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SCHEMA$

public static final org.apache.avro.Schema SCHEMA$

first

@Deprecated
public String first
Deprecated. 

last

@Deprecated
public String last
Deprecated. 
Constructor Detail

FullName

public FullName()
Method Detail

getSchema

public org.apache.avro.Schema getSchema()
Specified by:
getSchema in interface org.apache.avro.generic.GenericContainer
Specified by:
getSchema in class org.apache.avro.specific.SpecificRecordBase

get

public Object get(int field$)
Specified by:
get in interface org.apache.avro.generic.IndexedRecord
Specified by:
get in class org.apache.avro.specific.SpecificRecordBase

put

public void put(int field$,
                Object value$)
Specified by:
put in interface org.apache.avro.generic.IndexedRecord
Specified by:
put in class org.apache.avro.specific.SpecificRecordBase

getFirst

public String getFirst()
Gets the value of the 'first' field.


setFirst

public void setFirst(String value)
Sets the value of the 'first' field.

Parameters:
value - the value to set.

getLast

public String getLast()
Gets the value of the 'last' field.


setLast

public void setLast(String value)
Sets the value of the 'last' field.

Parameters:
value - the value to set.

newBuilder

public static FullName.Builder newBuilder()
Creates a new FullName RecordBuilder


newBuilder

public static FullName.Builder newBuilder(FullName.Builder other)
Creates a new FullName RecordBuilder by copying an existing Builder


newBuilder

public static FullName.Builder newBuilder(FullName other)
Creates a new FullName RecordBuilder by copying an existing FullName instance


Oracle NoSQL Database Examples
version 11gR2.2.0.26

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