org.apache.activemq.leveldb.record
Class CollectionKey

java.lang.Object
  extended by org.apache.activemq.leveldb.record.CollectionKey
All Implemented Interfaces:
org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>

public class CollectionKey
extends Object
implements org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>


Nested Class Summary
static class CollectionKey.Bean
           
static class CollectionKey.Buffer
           
static interface CollectionKey.Getter
           
 
Field Summary
static CollectionKey FACTORY
           
static org.fusesource.hawtbuf.proto.PBMessageFramedCodec<CollectionKey.Buffer> FRAMED_CODEC
           
static org.fusesource.hawtbuf.proto.PBMessageUnframedCodec<CollectionKey.Buffer> UNFRAMED_CODEC
           
 
Constructor Summary
CollectionKey()
           
 
Method Summary
 CollectionKey.Bean create()
           
 CollectionKey.Buffer parseFramed(org.fusesource.hawtbuf.Buffer data)
           
 CollectionKey.Buffer parseFramed(byte[] data)
           
 CollectionKey.Buffer parseFramed(org.fusesource.hawtbuf.proto.CodedInputStream data)
           
 CollectionKey.Buffer parseFramed(InputStream data)
           
 CollectionKey.Buffer parseUnframed(org.fusesource.hawtbuf.Buffer data)
           
 CollectionKey.Buffer parseUnframed(byte[] data)
           
 CollectionKey.Bean parseUnframed(org.fusesource.hawtbuf.proto.CodedInputStream data)
           
 CollectionKey.Bean parseUnframed(InputStream data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FACTORY

public static final CollectionKey FACTORY

FRAMED_CODEC

public static final org.fusesource.hawtbuf.proto.PBMessageFramedCodec<CollectionKey.Buffer> FRAMED_CODEC

UNFRAMED_CODEC

public static final org.fusesource.hawtbuf.proto.PBMessageUnframedCodec<CollectionKey.Buffer> UNFRAMED_CODEC
Constructor Detail

CollectionKey

public CollectionKey()
Method Detail

create

public CollectionKey.Bean create()
Specified by:
create in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>

parseUnframed

public CollectionKey.Bean parseUnframed(org.fusesource.hawtbuf.proto.CodedInputStream data)
                                 throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException,
                                        IOException
Specified by:
parseUnframed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
IOException

parseUnframed

public CollectionKey.Bean parseUnframed(InputStream data)
                                 throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException,
                                        IOException
Specified by:
parseUnframed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
IOException

parseUnframed

public CollectionKey.Buffer parseUnframed(org.fusesource.hawtbuf.Buffer data)
                                   throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
Specified by:
parseUnframed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException

parseUnframed

public CollectionKey.Buffer parseUnframed(byte[] data)
                                   throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
Specified by:
parseUnframed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException

parseFramed

public CollectionKey.Buffer parseFramed(org.fusesource.hawtbuf.proto.CodedInputStream data)
                                 throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException,
                                        IOException
Specified by:
parseFramed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
IOException

parseFramed

public CollectionKey.Buffer parseFramed(org.fusesource.hawtbuf.Buffer data)
                                 throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
Specified by:
parseFramed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException

parseFramed

public CollectionKey.Buffer parseFramed(byte[] data)
                                 throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
Specified by:
parseFramed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException

parseFramed

public CollectionKey.Buffer parseFramed(InputStream data)
                                 throws org.fusesource.hawtbuf.proto.InvalidProtocolBufferException,
                                        IOException
Specified by:
parseFramed in interface org.fusesource.hawtbuf.proto.PBMessageFactory<CollectionKey.Bean,CollectionKey.Buffer>
Throws:
org.fusesource.hawtbuf.proto.InvalidProtocolBufferException
IOException


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.