Example usage for com.mongodb DBDecoderFactory create

List of usage examples for com.mongodb DBDecoderFactory create

Introduction

In this page you can find the example usage for com.mongodb DBDecoderFactory create.

Prototype

DBDecoder create();

Source Link

Document

Creates an instance.

Usage

From source file:org.jongo.bench.DecoderBench.java

License:Apache License

private DBObject decode(DBDecoderFactory factory) {
    DBDecoder decoder = factory.create();
    return decoder.decode(FRIEND_AS_BYTE, (DBCollection) null);
}