io.substrait.relation.Fetch 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 io.substrait.type.Type;
import java.util.OptionalLong;
import org.immutables.value.Value;
@Value.Immutable
public abstract class Fetch extends SingleInputRel implements HasExtension {
static final org.slf4j.Logger logger = org.slf4j.LoggerFactory.getLogger(Fetch.class);
public abstract long getOffset();
public abstract OptionalLong getCount();
@Override
protected Type.Struct deriveRecordType() {
return getInput().getRecordType();
}
@Override
public O accept(RelVisitor visitor) throws E {
return visitor.visit(this);
}
public static ImmutableFetch.Builder builder() {
return ImmutableFetch.builder();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy