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, 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 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()
Persistent
getTombstone
in interface Persistent
public CINode newInstance()
Persistent
newInstance
in interface Persistent
Copyright © 2010-2015 The Apache Software Foundation. All Rights Reserved.