Package org.apache.calcite.util
Interface Compatible
public interface Compatible
Compatibility layer.
Allows to use advanced functionality if the latest JDK or Guava version is present.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Creates the implementation of Compatible suitable for the current environment. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionlookupPrivate
(Class<T> clazz) Same asMethodHandles#privateLookupIn()
.
-
Field Details
-
INSTANCE
-
-
Method Details
-
lookupPrivate
Same asMethodHandles#privateLookupIn()
. (On JDK 8, onlyMethodHandles.lookup()
is available.
-