mirror of https://github.com/apache/druid.git
update
This commit is contained in:
parent
d216b934fc
commit
e2a54b5758
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
package org.apache.druid.sql.calcite.run;
|
package org.apache.druid.sql.calcite.run;
|
||||||
|
|
||||||
|
import com.google.errorprone.annotations.Immutable;
|
||||||
import org.apache.calcite.rel.RelNode;
|
import org.apache.calcite.rel.RelNode;
|
||||||
import java.io.Closeable;
|
import java.io.Closeable;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -30,10 +31,11 @@ import java.util.Objects;
|
||||||
@FunctionalInterface
|
@FunctionalInterface
|
||||||
public interface DruidHook<T>
|
public interface DruidHook<T>
|
||||||
{
|
{
|
||||||
|
@Immutable
|
||||||
class HookKey<T>
|
class HookKey<T>
|
||||||
{
|
{
|
||||||
private String label;
|
private final String label;
|
||||||
private Class<T> type;
|
private final Class<T> type;
|
||||||
|
|
||||||
public HookKey(String label, Class<T> type)
|
public HookKey(String label, Class<T> type)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue