Class TemplatePartitionDetector
java.lang.Object
org.elasticsearch.xpack.esql.datasources.TemplatePartitionDetector
- All Implemented Interfaces:
PartitionDetector
Detects partition columns from bare directory segments using a path template.
Template syntax uses
{name} placeholders (e.g., {year}/{month}/{day}).
Values are extracted positionally from the last N directory segments above the filename.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TemplatePartitionDetector
-
-
Method Details
-
name
- Specified by:
namein interfacePartitionDetector
-
detect
- Specified by:
detectin interfacePartitionDetector
-
parseTemplateColumns
-