io.substrait.hint.Hint Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Create a well-defined, cross-language specification for data compute operations
package io.substrait.hint;
import io.substrait.proto.RelCommon;
import java.util.List;
import java.util.Optional;
import org.immutables.value.Value;
@Value.Immutable
public abstract class Hint {
public abstract Optional getAlias();
public abstract List getOutputNames();
public RelCommon.Hint toProto() {
var builder = RelCommon.Hint.newBuilder().addAllOutputNames(getOutputNames());
getAlias().ifPresent(builder::setAlias);
return builder.build();
}
public static ImmutableHint.Builder builder() {
return ImmutableHint.builder();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy