tech.ytsaurus.client.SerializationResolver Maven / Gradle / Ivy
The newest version!
package tech.ytsaurus.client;
import tech.ytsaurus.client.rows.ConsumerSource;
import tech.ytsaurus.client.rows.WireRowSerializer;
import tech.ytsaurus.client.rows.WireRowsetDeserializer;
import tech.ytsaurus.core.rows.YTreeRowSerializer;
import tech.ytsaurus.core.rows.YTreeSerializer;
import tech.ytsaurus.core.tables.TableSchema;
import tech.ytsaurus.ysontree.YTreeNode;
public interface SerializationResolver {
YTreeRowSerializer forClass(Class clazz, TableSchema schema);
WireRowsetDeserializer createWireRowDeserializer(YTreeSerializer serializer);
WireRowsetDeserializer createWireRowDeserializer(TableSchema schema,
YTreeSerializer serializer,
ConsumerSource consumer);
WireRowSerializer createWireRowSerializer(YTreeSerializer serializer);
TableSchema asTableSchema(YTreeSerializer serializer);
YTreeNode toTree(Object value);
}