org.apache.avro
Class Schema.Field

java.lang.Object
  extended by org.apache.avro.Schema.Field
Enclosing class:
Schema

public static class Schema.Field
extends Object

A field within a record.


Constructor Summary
Schema.Field(Schema schema, JsonNode defaultValue)
           
 
Method Summary
 JsonNode defaultValue()
           
 boolean equals(Object other)
           
 int pos()
          The position of this field within the record.
 Schema schema()
          This field's Schema.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema.Field

public Schema.Field(Schema schema,
                    JsonNode defaultValue)
Method Detail

pos

public int pos()
The position of this field within the record.


schema

public Schema schema()
This field's Schema.


defaultValue

public JsonNode defaultValue()

equals

public boolean equals(Object other)
Overrides:
equals in class Object


Copyright © 2009 The Apache Software Foundation