public class Flushed extends PersistentBase implements org.apache.avro.specific.SpecificRecord, Persistent
Modifier and Type | Class and Description |
---|---|
static class |
Flushed.Builder
RecordBuilder for Flushed instances.
|
static class |
Flushed.Field
Enum containing all data bean's fields.
|
static class |
Flushed.Tombstone |
PersistentBase.PersistentData
Modifier and Type | Field and Description |
---|---|
static String[] |
_ALL_FIELDS |
static org.apache.avro.Schema |
SCHEMA$ |
DIRTY_BYTES_FIELD_NAME
Constructor and Description |
---|
Flushed() |
Modifier and Type | Method and Description |
---|---|
Object |
get(int field$) |
Long |
getCount()
Gets the value of the 'count' field.
|
int |
getFieldsCount()
Gets the total field count.
|
org.apache.avro.Schema |
getSchema() |
Flushed.Tombstone |
getTombstone()
Get an object which can be used to mark this field as deleted (rather than
state unknown, which is indicated by null).
|
boolean |
isCountDirty()
Checks the dirty status of the 'count' field.
|
static Flushed.Builder |
newBuilder()
Creates a new Flushed RecordBuilder
|
static Flushed.Builder |
newBuilder(Flushed.Builder other)
Creates a new Flushed RecordBuilder by copying an existing Builder
|
static Flushed.Builder |
newBuilder(Flushed other)
Creates a new Flushed RecordBuilder by copying an existing Flushed instance
|
Flushed |
newInstance()
Constructs a new instance of the object by using appropriate builder.
|
void |
put(int field$,
Object value) |
void |
setCount(Long value)
Sets the value of the 'count' field.
|
clear, clearDirty, clearDirty, clearDirty, equals, getUnmanagedFields, isDirty, isDirty, isDirty, setDirty, setDirty, setDirty
compareTo, get, hashCode, put, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
clear, clearDirty, clearDirty, getUnmanagedFields, isDirty, isDirty, setDirty, setDirty, setDirty
clearDirty, isDirty
public static final org.apache.avro.Schema SCHEMA$
public static final String[] _ALL_FIELDS
public int getFieldsCount()
getFieldsCount
in class PersistentBase
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 Long getCount()
public void setCount(Long value)
value
- the value to set.public boolean isCountDirty()
value
- the value to set.public static Flushed.Builder newBuilder()
public static Flushed.Builder newBuilder(Flushed.Builder other)
public static Flushed.Builder newBuilder(Flushed other)
public Flushed.Tombstone getTombstone()
Persistent
getTombstone
in interface Persistent
public Flushed newInstance()
Persistent
newInstance
in interface Persistent
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.