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

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

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


Method Summary
 EntryKey.Bean copy()
           
 boolean equals(EntryKey.Buffer obj)
           
 boolean equals(Object obj)
           
 EntryKey.Buffer freeze()
           
 boolean frozen()
           
 long getCollectionKey()
           
 org.fusesource.hawtbuf.Buffer getEntryKey()
           
 boolean hasCollectionKey()
           
 boolean hasEntryKey()
           
 int hashCode()
           
 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 EntryKey.Bean copy()
Specified by:
copy in interface EntryKey.Getter
Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<EntryKey.Bean,EntryKey.Buffer>

freeze

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

toString

public String toString()
Overrides:
toString in class Object

toString

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

hasCollectionKey

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

getCollectionKey

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

hasEntryKey

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

getEntryKey

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

toUnframedBuffer

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

toFramedBuffer

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

toUnframedByteArray

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

toFramedByteArray

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

writeFramed

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

writeFramed

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

writeUnframed

public void writeUnframed(OutputStream output)
                   throws IOException
Specified by:
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<EntryKey.Bean,EntryKey.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<EntryKey.Bean,EntryKey.Buffer>
Throws:
IOException

serializedSizeFramed

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

serializedSizeUnframed

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

equals

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

equals

public boolean equals(EntryKey.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<EntryKey.Bean,EntryKey.Buffer>


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