io.substrait.relation.extensions.EmptyOptimization 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.extensions;
import com.google.protobuf.Any;
import io.substrait.proto.AdvancedExtension;
import io.substrait.relation.Extension;
/**
* Default type to which {@link AdvancedExtension#getOptimizationList()} data is converted to by the
* {@link io.substrait.relation.ProtoRelConverter}
*/
public class EmptyOptimization implements Extension.Optimization {
@Override
public Any toProto() {
return com.google.protobuf.Any.pack(com.google.protobuf.Empty.getDefaultInstance());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy