tech.ytsaurus.client.rows.SchemafulRowsetDeserializer Maven / Gradle / Ivy
The newest version!
package tech.ytsaurus.client.rows;
import java.util.List;
import java.util.Objects;
import tech.ytsaurus.core.tables.TableSchema;
public class SchemafulRowsetDeserializer
extends UnversionedRowsetDeserializer
implements WireSchemafulRowsetDeserializer {
private final List columnSchema;
public SchemafulRowsetDeserializer(TableSchema tableSchema) {
super(tableSchema);
this.columnSchema = Objects.requireNonNull(WireProtocolReader.makeSchemaData(tableSchema));
}
@Override
public List getColumnSchema() {
return columnSchema;
}
}