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

io.substrait.extension.ExtensionLookup 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.extension;

/**
 * Interface with operations for resolving references to {@link
 * io.substrait.proto.SimpleExtensionDeclaration}s within an individual plan to their corresponding
 * functions or types.
 */
public interface ExtensionLookup {
  SimpleExtension.ScalarFunctionVariant getScalarFunction(
      int reference, SimpleExtension.ExtensionCollection extensions);

  SimpleExtension.WindowFunctionVariant getWindowFunction(
      int reference, SimpleExtension.ExtensionCollection extensions);

  SimpleExtension.AggregateFunctionVariant getAggregateFunction(
      int reference, SimpleExtension.ExtensionCollection extensions);

  SimpleExtension.Type getType(int reference, SimpleExtension.ExtensionCollection extensions);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy