org.apache.avro
Class Schema.Field
java.lang.Object
org.apache.avro.Schema.Field
- Enclosing class:
- Schema
public static class Schema.Field
- extends Object
A field within a record.
Nested Class Summary |
static class |
Schema.Field.Order
How values of this field should be ordered when sorting records. |
Schema.Field
public Schema.Field(Schema schema,
JsonNode defaultValue)
Schema.Field
public Schema.Field(Schema schema,
JsonNode defaultValue,
Schema.Field.Order order)
pos
public int pos()
- The position of this field within the record.
schema
public Schema schema()
- This field's
Schema
.
defaultValue
public JsonNode defaultValue()
order
public Schema.Field.Order order()
equals
public boolean equals(Object other)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
Copyright © 2009 The Apache Software Foundation