Example usage for com.mongodb DBDecoder interface-usage

List of usage examples for com.mongodb DBDecoder interface-usage

Introduction

In this page you can find the example usage for com.mongodb DBDecoder interface-usage.

Usage

From source file com.ikanow.infinit.e.data_model.store.CsvGeneratingBsonDecoder.java

public class CsvGeneratingBsonDecoder extends org.bson.BasicBSONDecoder implements DBDecoderFactory, DBDecoder {
    @Override
    public int decode(byte[] b, BSONCallback callback) {
        int size = super.decode(b, callback);
        _size += size;
        return size;

From source file com.ikanow.infinit.e.data_model.store.SizeReportingBasicBSONDecoder.java

public class SizeReportingBasicBSONDecoder extends org.bson.BasicBSONDecoder
        implements DBDecoderFactory, DBDecoder {
    @Override
    public int decode(byte[] b, BSONCallback callback) {
        int size = super.decode(b, callback);
        _size += size;

From source file net.vz.mongodb.jackson.internal.stream.JacksonDBDecoder.java

/**
 * DB decoder that decodes the database stream using Jackson and bson4jackson
 *
 * @author James Roper
 * @since 1.1.2
 */

From source file nl.knaw.huygens.timbuctoo.storage.mongo.TreeDecoder.java

public class TreeDecoder implements DBDecoder {

    @Override
    public BSONObject readObject(byte[] b) {
        return decode(b, (DBCollection) null);
    }

From source file org.fastmongo.odm.bson.repository.BsonDbDecoder.java

/**
 * Decodes response from mongo to BsonDbObject.
 *
 * @author Alexander Gulko
 */
class BsonDbDecoder implements DBDecoder {

From source file org.jongo.bson.BsonDBDecoder.java

public class BsonDBDecoder extends LazyDBDecoder implements DBDecoder {

    public final static DBDecoderFactory FACTORY = new BsonDBDecoderFactory();

    private BsonDBDecoder() {
    }

From source file org.jongo.stream.JacksonDBDecoder.java

/**
 * DB decoder that decodes the database stream using Jackson and bson4jackson
 *
 * @author James Roper
 * @since 1.1.2
 */

From source file org.mongojack.internal.stream.JacksonDBDecoder.java

/**
 * DB decoder that decodes the database stream using Jackson and bson4jackson
 *
 * @author James Roper
 * @since 1.1.2
 */