Example usage for com.mongodb DBDecoderFactory interface-usage

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

Introduction

In this page you can find the example usage for com.mongodb DBDecoderFactory 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.JacksonDecoderFactory.java

/**
 * DBDecoder factory for jackson
 *
 * @author James Roper
 * @since 1.1.2
 */

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

public class TreeDecoderFactory implements DBDecoderFactory {

    @Override
    public DBDecoder create() {
        return new TreeDecoder();
    }

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

/**
 * Factory for {@link BsonDbDecoder} to return unparsed DBObjects.
 *
 * @author Alexander Gulko
 */
public class BsonDbDecoderFactory implements DBDecoderFactory {

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

/**
 * DBDecoder factory for jackson
 *
 * @author James Roper
 * @since 1.1.2
 */

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

/**
 * DBDecoder factory for jackson
 *
 * @author James Roper
 * @since 1.1.2
 */