public class IndexMetadataRecord
extends org.apache.avro.specific.SpecificRecordBase
implements org.apache.avro.specific.SpecificRecord
Modifier and Type | Class and Description |
---|---|
static class |
IndexMetadataRecord.Builder
RecordBuilder for IndexMetadataRecord instances.
|
Modifier and Type | Field and Description |
---|---|
Map<CharSequence,DataValue> |
customData
Deprecated.
|
CharSequence |
depthDatum
Deprecated.
|
CharSequence |
description
Deprecated.
|
IndexDirections |
direction
Deprecated.
|
ChannelIndexTypes |
indexType
Deprecated.
|
CharSequence |
mnemonic
Deprecated.
|
int |
scale
Deprecated.
|
static org.apache.avro.Schema |
SCHEMA$ |
CharSequence |
timeDatum
Deprecated.
|
CharSequence |
uom
Deprecated.
|
CharSequence |
uri
Deprecated.
|
Constructor and Description |
---|
IndexMetadataRecord()
Default constructor.
|
IndexMetadataRecord(ChannelIndexTypes indexType,
CharSequence uom,
CharSequence depthDatum,
IndexDirections direction,
CharSequence mnemonic,
CharSequence description,
CharSequence uri,
Map<CharSequence,DataValue> customData,
Integer scale,
CharSequence timeDatum)
All-args constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
static org.apache.avro.Schema |
getClassSchema() |
Map<CharSequence,DataValue> |
getCustomData()
Gets the value of the 'customData' field.
|
CharSequence |
getDepthDatum()
Gets the value of the 'depthDatum' field.
|
CharSequence |
getDescription()
Gets the value of the 'description' field.
|
IndexDirections |
getDirection()
Gets the value of the 'direction' field.
|
ChannelIndexTypes |
getIndexType()
Gets the value of the 'indexType' field.
|
CharSequence |
getMnemonic()
Gets the value of the 'mnemonic' field.
|
Integer |
getScale()
Gets the value of the 'scale' field.
|
org.apache.avro.Schema |
getSchema() |
CharSequence |
getTimeDatum()
Gets the value of the 'timeDatum' field.
|
CharSequence |
getUom()
Gets the value of the 'uom' field.
|
CharSequence |
getUri()
Gets the value of the 'uri' field.
|
static IndexMetadataRecord.Builder |
newBuilder()
Creates a new IndexMetadataRecord RecordBuilder
|
static IndexMetadataRecord.Builder |
newBuilder(IndexMetadataRecord.Builder other)
Creates a new IndexMetadataRecord RecordBuilder by copying an existing Builder
|
static IndexMetadataRecord.Builder |
newBuilder(IndexMetadataRecord other)
Creates a new IndexMetadataRecord RecordBuilder by copying an existing IndexMetadataRecord instance
|
void |
put(int field$,
Object value$) |
void |
setCustomData(Map<CharSequence,DataValue> value)
Sets the value of the 'customData' field.
|
void |
setDepthDatum(CharSequence value)
Sets the value of the 'depthDatum' field.
|
void |
setDescription(CharSequence value)
Sets the value of the 'description' field.
|
void |
setDirection(IndexDirections value)
Sets the value of the 'direction' field.
|
void |
setIndexType(ChannelIndexTypes value)
Sets the value of the 'indexType' field.
|
void |
setMnemonic(CharSequence value)
Sets the value of the 'mnemonic' field.
|
void |
setScale(Integer value)
Sets the value of the 'scale' field.
|
void |
setTimeDatum(CharSequence value)
Sets the value of the 'timeDatum' field.
|
void |
setUom(CharSequence value)
Sets the value of the 'uom' field.
|
void |
setUri(CharSequence value)
Sets the value of the 'uri' field.
|
public static final org.apache.avro.Schema SCHEMA$
@Deprecated public ChannelIndexTypes indexType
@Deprecated public CharSequence uom
@Deprecated public CharSequence depthDatum
@Deprecated public IndexDirections direction
@Deprecated public CharSequence mnemonic
@Deprecated public CharSequence description
@Deprecated public CharSequence uri
@Deprecated public Map<CharSequence,DataValue> customData
@Deprecated public int scale
@Deprecated public CharSequence timeDatum
public IndexMetadataRecord()
newBuilder()
.public IndexMetadataRecord(ChannelIndexTypes indexType, CharSequence uom, CharSequence depthDatum, IndexDirections direction, CharSequence mnemonic, CharSequence description, CharSequence uri, Map<CharSequence,DataValue> customData, Integer scale, CharSequence timeDatum)
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 ChannelIndexTypes getIndexType()
public void setIndexType(ChannelIndexTypes value)
value
- the value to set.public CharSequence getUom()
public void setUom(CharSequence value)
value
- the value to set.public CharSequence getDepthDatum()
public void setDepthDatum(CharSequence value)
value
- the value to set.public IndexDirections getDirection()
public void setDirection(IndexDirections value)
value
- the value to set.public CharSequence getMnemonic()
public void setMnemonic(CharSequence value)
value
- the value to set.public CharSequence getDescription()
public void setDescription(CharSequence value)
value
- the value to set.public CharSequence getUri()
public void setUri(CharSequence value)
value
- the value to set.public Map<CharSequence,DataValue> getCustomData()
public void setCustomData(Map<CharSequence,DataValue> value)
value
- the value to set.public Integer getScale()
public void setScale(Integer value)
value
- the value to set.public CharSequence getTimeDatum()
public void setTimeDatum(CharSequence value)
value
- the value to set.public static IndexMetadataRecord.Builder newBuilder()
public static IndexMetadataRecord.Builder newBuilder(IndexMetadataRecord.Builder other)
public static IndexMetadataRecord.Builder newBuilder(IndexMetadataRecord other)
Copyright © 2023 Petroware AS - https://petroware.no