deephaven.query_library¶
This module allows users to import Java classes or packages into the query library for the Deephaven query engine. These classes or packages can then be used in Deephaven queries.
- import_class(name)[source]¶
Adds a Java class to the query library, making it available to be used in Deephaven query strings (formulas and conditional expressions). The class must be reachable in the Deephaven server’s classpath.
- Parameters:
name (str) – the fully qualified name of the Java class
- Raises:
DHError –
- Return type:
None
- import_package(name)[source]¶
Adds all the public classes and interfaces of a Java package to the query library, making them available to be used in Deephaven query strings (formulas and conditional expressions). The package must be reachable in the Deephaven server’s classpath.
- Parameters:
name (str) – the fully qualified name of the Java package
- Raises:
DHError –
- Return type:
None
- import_static(name)[source]¶
Adds the static members of a Java class to the query library, making them available to be used in Deephaven query strings (formulas and conditional expressions). The class must be reachable in the Deephaven server’s classpath.
- Parameters:
name (str) – the fully qualified name of the Java class
- Raises:
DHError –
- Return type:
None