All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.substrait.relation.extensions.EmptyOptimization Maven / Gradle / Ivy

Go to download

Create a well-defined, cross-language specification for data compute operations

There is a newer version: 0.46.1
Show newest version
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