tech.ytsaurus.client.request.TableSchemaModification Maven / Gradle / Ivy
The newest version!
package tech.ytsaurus.client.request;
import tech.ytsaurus.rpcproxy.ETableSchemaModification;
/**
* @see
*
* Deletions and extended write format
*
*/
public enum TableSchemaModification {
NONE(ETableSchemaModification.TSM_NONE, "none"),
UNVERSIONED_UPDATE(ETableSchemaModification.TSM_UNVERSIONED_UPDATE, "unversioned_update"),
UNVERSIONED_UPDATE_UNSORTED(ETableSchemaModification.TSM_UNVERSIONED_UPDATE_UNSORTED,
"unversioned_update_unsorted");
private final ETableSchemaModification protoValue;
private final String stringValue;
TableSchemaModification(ETableSchemaModification protoValue, String stringValue) {
this.protoValue = protoValue;
this.stringValue = stringValue;
}
@Override
public String toString() {
return stringValue;
}
public ETableSchemaModification getProtoValue() {
return protoValue;
}
}