Package org.apache.calcite.adapter.os
Class FilesTableFunction
- java.lang.Object
-
- org.apache.calcite.adapter.os.FilesTableFunction
-
public class FilesTableFunction extends java.lang.Object
Table function that executes the OS "find" command to find files under a particular path.
-
-
Field Summary
Fields Modifier and Type Field Description private static java.math.BigDecimal
THOUSAND
-
Constructor Summary
Constructors Modifier Constructor Description private
FilesTableFunction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScannableTable
eval(java.lang.String path)
Evaluates the function.
-
-
-
Method Detail
-
eval
public static ScannableTable eval(java.lang.String path)
Evaluates the function.- Parameters:
path
- Directory in which to start the search. Typically '.'- Returns:
- Table that can be inspected, planned, and evaluated
-
-