public class AvroSimpleFeatureCollection
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
AvroSimpleFeatureCollection.Builder
RecordBuilder for AvroSimpleFeatureCollection instances.
|
Modifier and Type | Field and Description |
---|---|
AvroFeatureDefinition |
featureType
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
List<AvroAttributeValues> |
simpleFeatureCollection
Deprecated.
|
Constructor and Description |
---|
AvroSimpleFeatureCollection()
Default constructor.
|
AvroSimpleFeatureCollection(AvroFeatureDefinition featureType,
List<AvroAttributeValues> simpleFeatureCollection)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
AvroFeatureDefinition |
getFeatureType()
Gets the value of the 'featureType' field.
|
org.apache.avro.Schema |
getSchema() |
List<AvroAttributeValues> |
getSimpleFeatureCollection()
Gets the value of the 'simpleFeatureCollection' field.
|
static AvroSimpleFeatureCollection.Builder |
newBuilder()
Creates a new AvroSimpleFeatureCollection RecordBuilder
|
static AvroSimpleFeatureCollection.Builder |
newBuilder(AvroSimpleFeatureCollection.Builder other)
Creates a new AvroSimpleFeatureCollection RecordBuilder by copying an existing Builder
|
static AvroSimpleFeatureCollection.Builder |
newBuilder(AvroSimpleFeatureCollection other)
Creates a new AvroSimpleFeatureCollection RecordBuilder by copying an existing AvroSimpleFeatureCollection instance
|
void |
put(int field$,
Object value$) |
void |
setFeatureType(AvroFeatureDefinition value)
Sets the value of the 'featureType' field.
|
void |
setSimpleFeatureCollection(List<AvroAttributeValues> value)
Sets the value of the 'simpleFeatureCollection' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public AvroFeatureDefinition featureType
@Deprecated public List<AvroAttributeValues> simpleFeatureCollection
public AvroSimpleFeatureCollection()
newBuilder()
.public AvroSimpleFeatureCollection(AvroFeatureDefinition featureType, List<AvroAttributeValues> simpleFeatureCollection)
public static org.apache.avro.Schema getClassSchema()
public org.apache.avro.Schema getSchema()
getSchema
in interface org.apache.avro.generic.GenericContainer
getSchema
in class org.apache.avro.specific.SpecificRecordBase
public Object get(int field$)
get
in interface org.apache.avro.generic.IndexedRecord
get
in class org.apache.avro.specific.SpecificRecordBase
public void put(int field$, Object value$)
put
in interface org.apache.avro.generic.IndexedRecord
put
in class org.apache.avro.specific.SpecificRecordBase
public AvroFeatureDefinition getFeatureType()
public void setFeatureType(AvroFeatureDefinition value)
value
- the value to set.public List<AvroAttributeValues> getSimpleFeatureCollection()
public void setSimpleFeatureCollection(List<AvroAttributeValues> value)
value
- the value to set.public static AvroSimpleFeatureCollection.Builder newBuilder()
public static AvroSimpleFeatureCollection.Builder newBuilder(AvroSimpleFeatureCollection.Builder other)
public static AvroSimpleFeatureCollection.Builder newBuilder(AvroSimpleFeatureCollection other)
Copyright © 2013–2020. All rights reserved.