io.substrait.relation.ExtensionSingle 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.relation;
import org.immutables.value.Value;
@Value.Immutable
public abstract class ExtensionSingle extends SingleInputRel {
public abstract Extension.SingleRelDetail getDetail();
@Override
public O accept(RelVisitor visitor) throws E {
return visitor.visit(this);
}
public static ImmutableExtensionSingle.Builder from(Extension.SingleRelDetail detail, Rel input) {
return ImmutableExtensionSingle.builder()
.input(input)
.detail(detail)
.deriveRecordType(detail.deriveRecordType(input));
}
public static ImmutableExtensionSingle.Builder builder() {
return ImmutableExtensionSingle.builder();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy