hydra.ext.com.microsoft.kusto.kql.UnaryOperator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hydra-ext Show documentation
Show all versions of hydra-ext Show documentation
Hydra language extensions in Java; models, coders, and utilities
// Note: this is an automatically generated file. Do not edit.
package hydra.ext.com.microsoft.kusto.kql;
import java.io.Serializable;
public abstract class UnaryOperator implements Serializable {
public static final hydra.core.Name TYPE_NAME = new hydra.core.Name("hydra/ext/com/microsoft/kusto/kql.UnaryOperator");
public static final hydra.core.Name FIELD_NAME_NOT = new hydra.core.Name("not");
private UnaryOperator () {
}
public abstract R accept(Visitor visitor) ;
public interface Visitor {
R visit(Not instance) ;
}
public interface PartialVisitor extends Visitor {
default R otherwise(UnaryOperator instance) {
throw new IllegalStateException("Non-exhaustive patterns when matching: " + (instance));
}
default R visit(Not instance) {
return otherwise((instance));
}
}
public static final class Not extends hydra.ext.com.microsoft.kusto.kql.UnaryOperator implements Serializable {
public Not () {
}
@Override
public boolean equals(Object other) {
if (!(other instanceof Not)) {
return false;
}
Not o = (Not) (other);
return true;
}
@Override
public int hashCode() {
return 0;
}
@Override
public R accept(Visitor visitor) {
return visitor.visit(this);
}
}
}