public class CINode extends PersistentBase implements org.apache.avro.specific.SpecificRecord, Persistent
| Modifier and Type | Class and Description |
|---|---|
static class |
CINode.Builder
RecordBuilder for CINode instances.
|
static class |
CINode.Field
Enum containing all data bean's fields.
|
static class |
CINode.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 |
|---|
CINode() |
| Modifier and Type | Method and Description |
|---|---|
Object |
get(int field$) |
CharSequence |
getClient()
Gets the value of the 'client' field.
|
Long |
getCount()
Gets the value of the 'count' field.
|
int |
getFieldsCount()
Gets the total field count.
|
Long |
getPrev()
Gets the value of the 'prev' field.
|
org.apache.avro.Schema |
getSchema() |
CINode.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 |
isClientDirty()
Checks the dirty status of the 'client' field.
|
boolean |
isCountDirty()
Checks the dirty status of the 'count' field.
|
boolean |
isPrevDirty()
Checks the dirty status of the 'prev' field.
|
static CINode.Builder |
newBuilder()
Creates a new CINode RecordBuilder
|
static CINode.Builder |
newBuilder(CINode.Builder other)
Creates a new CINode RecordBuilder by copying an existing Builder
|
static CINode.Builder |
newBuilder(CINode other)
Creates a new CINode RecordBuilder by copying an existing CINode instance
|
CINode |
newInstance()
Constructs a new instance of the object by using appropriate builder.
|
void |
put(int field$,
Object value) |
void |
setClient(CharSequence value)
Sets the value of the 'client' field.
|
void |
setCount(Long value)
Sets the value of the 'count' field.
|
void |
setPrev(Long value)
Sets the value of the 'prev' 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 getPrev()
public void setPrev(Long value)
value - the value to set.public boolean isPrevDirty()
value - the value to set.public CharSequence getClient()
public void setClient(CharSequence value)
value - the value to set.public boolean isClientDirty()
value - the value to set.public Long getCount()
public void setCount(Long value)
value - the value to set.public boolean isCountDirty()
value - the value to set.public static CINode.Builder newBuilder()
public static CINode.Builder newBuilder(CINode.Builder other)
public static CINode.Builder newBuilder(CINode other)
public CINode.Tombstone getTombstone()
PersistentgetTombstone in interface Persistentpublic CINode newInstance()
PersistentnewInstance in interface PersistentCopyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.