Package io.deephaven.server.uri
Class ParquetTableResolver
java.lang.Object
io.deephaven.server.uri.ParquetTableResolver
- All Implemented Interfaces:
UriResolver
The parquet table resolver is able to resolve local parquet files, or directories for the scheme "parquet",
into
tables.
For example, parquet:///data/my-file.parquet or parquet:///data/my-dir.
For more advanced use cases, see ParquetTools.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParquetTableResolverget()booleanisResolvable(URI uri) Returns true if the resolver canresolvetheuri.static booleanisWellFormed(URI uri) Resolveuriinto an object.schemes()The supported schemes.
-
Field Details
-
SCHEME
The parquet scheme,parquet.- See Also:
-
-
Constructor Details
-
ParquetTableResolver
@Inject public ParquetTableResolver()
-
-
Method Details
-
isWellFormed
-
get
-
schemes
Description copied from interface:UriResolverThe supported schemes.- Specified by:
schemesin interfaceUriResolver- Returns:
- the schemes
-
isResolvable
Description copied from interface:UriResolverReturns true if the resolver canresolvetheuri.- Specified by:
isResolvablein interfaceUriResolver- Parameters:
uri- the uri- Returns:
- true if this resolver can resolve uri
-
resolve
Description copied from interface:UriResolverResolveuriinto an object.- Specified by:
resolvein interfaceUriResolver- Parameters:
uri- the URI- Returns:
- the object
- Throws:
InterruptedException- if the current thread is interrupted
-