public static final class CollectionKey.Buffer extends Object implements org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>, CollectionKey.Getter
| Modifier and Type | Method and Description |
|---|---|
CollectionKey.Bean |
copy() |
boolean |
equals(CollectionKey.Buffer obj) |
boolean |
equals(Object obj) |
CollectionKey.Buffer |
freeze() |
boolean |
frozen() |
long |
getKey() |
int |
hashCode() |
boolean |
hasKey() |
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) |
public CollectionKey.Bean copy()
copy in interface CollectionKey.Gettercopy in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>public CollectionKey.Buffer freeze()
freeze in interface CollectionKey.Getterfreeze in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>public StringBuilder toString(StringBuilder sb, String prefix)
toString in interface CollectionKey.Getterpublic boolean hasKey()
hasKey in interface CollectionKey.Getterpublic long getKey()
getKey in interface CollectionKey.Getterpublic org.fusesource.hawtbuf.Buffer toUnframedBuffer()
toUnframedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public org.fusesource.hawtbuf.Buffer toFramedBuffer()
toFramedBuffer in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public byte[] toUnframedByteArray()
toUnframedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public byte[] toFramedByteArray()
toFramedByteArray in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public void writeFramed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>IOExceptionpublic void writeFramed(OutputStream output) throws IOException
writeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>IOExceptionpublic void writeUnframed(OutputStream output) throws IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>IOExceptionpublic void writeUnframed(org.fusesource.hawtbuf.proto.CodedOutputStream output) throws IOException
writeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>IOExceptionpublic int serializedSizeFramed()
serializedSizeFramed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public int serializedSizeUnframed()
serializedSizeUnframed in interface org.fusesource.hawtbuf.proto.MessageBuffer<CollectionKey.Bean,CollectionKey.Buffer>public boolean equals(CollectionKey.Buffer obj)
public boolean frozen()
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>Copyright © 2005–2017 The Apache Software Foundation. All rights reserved.