org.apache.activemq.leveldb.record
Class EntryRecord.Buffer

java.lang.Object
  extended by org.apache.activemq.leveldb.record.EntryRecord.Buffer
All Implemented Interfaces:
EntryRecord.Getter, org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>, org.fusesource.hawtbuf.proto.PBMessage<EntryRecord.Bean,EntryRecord.Buffer>
Enclosing class:
EntryRecord

public static final class EntryRecord.Buffer
extends Object
implements org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>, EntryRecord.Getter


Method Summary
 EntryRecord.Bean copy()
           
 boolean equals(EntryRecord.Buffer obj)
           
 boolean equals(Object obj)
           
 EntryRecord.Buffer freeze()
           
 boolean frozen()
           
 long getCollectionKey()
           
 org.fusesource.hawtbuf.Buffer getEntryKey()
           
 org.fusesource.hawtbuf.Buffer getMeta()
           
 org.fusesource.hawtbuf.Buffer getValue()
           
 int getValueLength()
           
 long getValueLocation()
           
 boolean hasCollectionKey()
           
 boolean hasEntryKey()
           
 int hashCode()
           
 boolean hasMeta()
           
 boolean hasValue()
           
 boolean hasValueLength()
           
 boolean hasValueLocation()
           
 int serializedSizeFramed()
           
 int serializedSizeUnframed()
           
 org.fusesource.hawtbuf.Buffer toFramedBuffer()
           
 byte[] toFramedByteArray()
           
 String toString()
           
 StringBuilder toString(StringBuilder sb, String prefix)
           
 org.fusesource.hawtbuf.Buffer toUnframedBuffer()
           
 byte[] toUnframedByteArray()
           
 void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
           
 void writeFramed(OutputStream output)
           
 void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
           
 void writeUnframed(OutputStream output)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

copy

public EntryRecord.Bean copy()
Specified by:
copy in interface EntryRecord.Getter
Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<EntryRecord.Bean,EntryRecord.Buffer>

freeze

public EntryRecord.Buffer freeze()
Specified by:
freeze in interface EntryRecord.Getter
Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<EntryRecord.Bean,EntryRecord.Buffer>

toString

public String toString()
Overrides:
toString in class Object

toString

public StringBuilder toString(StringBuilder sb,
                              String prefix)
Specified by:
toString in interface EntryRecord.Getter

hasCollectionKey

public boolean hasCollectionKey()
Specified by:
hasCollectionKey in interface EntryRecord.Getter

getCollectionKey

public long getCollectionKey()
Specified by:
getCollectionKey in interface EntryRecord.Getter

hasEntryKey

public boolean hasEntryKey()
Specified by:
hasEntryKey in interface EntryRecord.Getter

getEntryKey

public org.fusesource.hawtbuf.Buffer getEntryKey()
Specified by:
getEntryKey in interface EntryRecord.Getter

hasValueLocation

public boolean hasValueLocation()
Specified by:
hasValueLocation in interface EntryRecord.Getter

getValueLocation

public long getValueLocation()
Specified by:
getValueLocation in interface EntryRecord.Getter

hasValueLength

public boolean hasValueLength()
Specified by:
hasValueLength in interface EntryRecord.Getter

getValueLength

public int getValueLength()
Specified by:
getValueLength in interface EntryRecord.Getter

hasValue

public boolean hasValue()
Specified by:
hasValue in interface EntryRecord.Getter

getValue

public org.fusesource.hawtbuf.Buffer getValue()
Specified by:
getValue in interface EntryRecord.Getter

hasMeta

public boolean hasMeta()
Specified by:
hasMeta in interface EntryRecord.Getter

getMeta

public org.fusesource.hawtbuf.Buffer getMeta()
Specified by:
getMeta in interface EntryRecord.Getter

toUnframedBuffer

public org.fusesource.hawtbuf.Buffer toUnframedBuffer()
Specified by:
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>

toFramedBuffer

public org.fusesource.hawtbuf.Buffer toFramedBuffer()
Specified by:
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>

toUnframedByteArray

public byte[] toUnframedByteArray()
Specified by:
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>

toFramedByteArray

public byte[] toFramedByteArray()
Specified by:
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>

writeFramed

public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
                 throws IOException
Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>
Throws:
IOException

writeFramed

public void writeFramed(OutputStream output)
                 throws IOException
Specified by:
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>
Throws:
IOException

writeUnframed

public void writeUnframed(OutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>
Throws:
IOException

writeUnframed

public void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>
Throws:
IOException

serializedSizeFramed

public int serializedSizeFramed()
Specified by:
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>

serializedSizeUnframed

public int serializedSizeUnframed()
Specified by:
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryRecord.Bean,EntryRecord.Buffer>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

equals

public boolean equals(EntryRecord.Buffer obj)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

frozen

public boolean frozen()
Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<EntryRecord.Bean,EntryRecord.Buffer>


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.