| Package | Description |
|---|---|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Class and Description |
|---|---|
private static class |
Sources.FileSource
Implementation of
Source. |
| Modifier and Type | Method and Description |
|---|---|
Source |
Sources.FileSource.append(Source child) |
Source |
Source.append(Source child)
Returns a source whose path concatenates this with a child.
|
static Source |
Sources.file(File baseDirectory,
String fileName) |
static Source |
Sources.of(File file) |
Source |
Sources.FileSource.relative(Source parent) |
Source |
Source.relative(Source source)
Returns a relative source, if this source is a child of a given base.
|
Source |
Sources.FileSource.trim(String suffix) |
Source |
Source.trim(String suffix)
Looks for a suffix on a path and returns
either the path with the suffix removed
or the original path.
|
Source |
Sources.FileSource.trimOrNull(String suffix) |
Source |
Source.trimOrNull(String suffix)
Looks for a suffix on a path and returns
either the path with the suffix removed
or null.
|
static Source |
Sources.url(String url) |
| Modifier and Type | Method and Description |
|---|---|
Source |
Sources.FileSource.append(Source child) |
Source |
Source.append(Source child)
Returns a source whose path concatenates this with a child.
|
private static boolean |
Sources.isFile(Source source) |
Source |
Sources.FileSource.relative(Source parent) |
Source |
Source.relative(Source source)
Returns a relative source, if this source is a child of a given base.
|
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.