tech.ytsaurus.core.rows.YTreeRowSerializer Maven / Gradle / Ivy
package tech.ytsaurus.core.rows;
import javax.annotation.Nullable;
import tech.ytsaurus.lang.NonNullApi;
import tech.ytsaurus.lang.NonNullFields;
import tech.ytsaurus.yson.YsonConsumer;
/**
* Serializer for T that can represent a table row. For example: YTreeMapNode or YTreeObject
*/
@NonNullApi
@NonNullFields
public interface YTreeRowSerializer extends YTreeSerializer {
void serializeRow(T obj, YsonConsumer consumer, boolean keyFieldsOnly, @Nullable T compareWith);
}