All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aconex.scrutineer.elasticsearch.IdAndVersionDataReaderFactory Maven / Gradle / Ivy

package com.aconex.scrutineer.elasticsearch;

import java.io.IOException;
import java.io.InputStream;
import java.io.ObjectInputStream;

import com.aconex.scrutineer.IdAndVersion;
import com.fasterxml.sort.DataReader;
import com.fasterxml.sort.DataReaderFactory;

public class IdAndVersionDataReaderFactory extends DataReaderFactory {
    @Override
    public DataReader constructReader(final InputStream inputStream) throws IOException {
        return new IdAndVersionDataReader(new ObjectInputStream(inputStream));

    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy