org.apache.activemq.leveldb.record
Class CollectionKey.Bean
java.lang.Object
org.apache.activemq.leveldb.record.CollectionKey.Bean
- All Implemented Interfaces:
- CollectionKey.Getter, org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
- Enclosing class:
- CollectionKey
public static final class CollectionKey.Bean
- extends Object
- implements CollectionKey.Getter
CollectionKey.Bean
public CollectionKey.Bean()
CollectionKey.Bean
public CollectionKey.Bean(CollectionKey.Bean copy)
copy
public CollectionKey.Bean copy()
- Specified by:
copy in interface CollectionKey.Getter- Specified by:
copy in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
frozen
public boolean frozen()
- Specified by:
frozen in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
freeze
public CollectionKey.Buffer freeze()
- Specified by:
freeze in interface CollectionKey.Getter- Specified by:
freeze in interface org.fusesource.hawtbuf.proto.PBMessage<CollectionKey.Bean,CollectionKey.Buffer>
hasKey
public boolean hasKey()
- Specified by:
hasKey in interface CollectionKey.Getter
getKey
public long getKey()
- Specified by:
getKey in interface CollectionKey.Getter
setKey
public CollectionKey.Bean setKey(long key)
clearKey
public void clearKey()
toString
public String toString()
- Overrides:
toString in class Object
toString
public StringBuilder toString(StringBuilder sb,
String prefix)
- Specified by:
toString in interface CollectionKey.Getter
mergeUnframed
public CollectionKey.Bean mergeUnframed(InputStream input)
throws IOException
- Throws:
IOException
mergeUnframed
public CollectionKey.Bean mergeUnframed(org.fusesource.hawtbuf.proto.CodedInputStream input)
throws IOException
- Throws:
IOException
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
equals
public boolean equals(CollectionKey.Bean obj)
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
mergeFrom
public CollectionKey.Bean mergeFrom(CollectionKey.Getter other)
clear
public void clear()
readExternal
public void readExternal(DataInput in)
throws IOException
- Throws:
IOException
writeExternal
public void writeExternal(DataOutput out)
throws IOException
- Throws:
IOException
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.