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, setDirtycompareTo, get, hashCode, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitclear, clearDirty, clearDirty, getUnmanagedFields, isDirty, isDirty, setDirty, setDirty, setDirtyclearDirty, isDirtypublic static final org.apache.avro.Schema SCHEMA$
public static final String[] _ALL_FIELDS
public int getFieldsCount()
getFieldsCount in class PersistentBasepublic org.apache.avro.Schema getSchema()
getSchema in interface org.apache.avro.generic.GenericContainergetSchema in class org.apache.avro.specific.SpecificRecordBasepublic Object get(int field$)
get in interface org.apache.avro.generic.IndexedRecordget in class org.apache.avro.specific.SpecificRecordBasepublic void put(int field$,
Object value)
put in interface org.apache.avro.generic.IndexedRecordput in class org.apache.avro.specific.SpecificRecordBasepublic 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()
PersistentgetTombstone in interface Persistentpublic Flushed newInstance()
PersistentnewInstance in interface PersistentCopyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.