22 lines
661 B
Java
22 lines
661 B
Java
|
package it.cavallium.dbengine.database.remote;
|
||
|
|
||
|
import it.cavallium.data.generator.DataSerializer;
|
||
|
import java.io.DataInput;
|
||
|
import java.io.DataOutput;
|
||
|
import java.io.IOException;
|
||
|
import org.jetbrains.annotations.NotNull;
|
||
|
import org.rocksdb.RocksDB;
|
||
|
|
||
|
public class RocksDBSerializer implements DataSerializer<RocksDB> {
|
||
|
|
||
|
@Override
|
||
|
public void serialize(DataOutput dataOutput, @NotNull RocksDB rocksDB) throws IOException {
|
||
|
throw new UnsupportedOperationException("Can't encode this type");
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public @NotNull RocksDB deserialize(DataInput dataInput) throws IOException {
|
||
|
throw new UnsupportedOperationException("Can't encode this type");
|
||
|
}
|
||
|
}
|