org.apache.jackrabbit.mk.store
Interface Binding

All Known Implementing Classes:
BinaryBinding, MongoPersistence.DBObjectBinding

public interface Binding


Nested Class Summary
static class Binding.BytesEntry
           
static interface Binding.BytesEntryIterator
           
static class Binding.Entry<V>
           
static class Binding.StringEntry
           
static interface Binding.StringEntryIterator
           
 
Method Summary
 Binding.BytesEntryIterator readBytesMap(String key)
           
 byte[] readBytesValue(String key)
           
 int readIntValue(String key)
           
 long readLongValue(String key)
           
 Binding.StringEntryIterator readStringMap(String key)
           
 String readStringValue(String key)
           
 void write(String key, byte[] value)
           
 void write(String key, int value)
           
 void write(String key, long value)
           
 void write(String key, String value)
           
 void writeMap(String key, int count, Binding.BytesEntryIterator iterator)
           
 void writeMap(String key, int count, Binding.StringEntryIterator iterator)
           
 

Method Detail

write

void write(String key,
           String value)
           throws Exception
Throws:
Exception

write

void write(String key,
           byte[] value)
           throws Exception
Throws:
Exception

write

void write(String key,
           long value)
           throws Exception
Throws:
Exception

write

void write(String key,
           int value)
           throws Exception
Throws:
Exception

writeMap

void writeMap(String key,
              int count,
              Binding.StringEntryIterator iterator)
              throws Exception
Throws:
Exception

writeMap

void writeMap(String key,
              int count,
              Binding.BytesEntryIterator iterator)
              throws Exception
Throws:
Exception

readStringValue

String readStringValue(String key)
                       throws Exception
Throws:
Exception

readBytesValue

byte[] readBytesValue(String key)
                      throws Exception
Throws:
Exception

readLongValue

long readLongValue(String key)
                   throws Exception
Throws:
Exception

readIntValue

int readIntValue(String key)
                 throws Exception
Throws:
Exception

readStringMap

Binding.StringEntryIterator readStringMap(String key)
                                          throws Exception
Throws:
Exception

readBytesMap

Binding.BytesEntryIterator readBytesMap(String key)
                                        throws Exception
Throws:
Exception


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.