public class DateTimeNodeNameRule extends Object implements NodeNameRule
2024-01-15 map keys) as dynamic using a
DateTimePatternDetector. Opt-in — not part of the standard rule set; enable it with
TreeDetectionStrategy.enableDateTimeNodeNames().
Classification runs once per parse event, so results are memoized in a bounded, access-ordered
cache and names longer than maximumNameLength are rejected
without parsing.
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MAXIMUM_NAME_LENGTH |
| Constructor and Description |
|---|
DateTimeNodeNameRule() |
| Modifier and Type | Method and Description |
|---|---|
DateTimePatternDetector |
getDateTimePatternDetector() |
int |
getMaximumNameLength()
Returns the longest name this rule will attempt to parse as a date/timestamp (default
40).
|
boolean |
isDynamicName(String nodeName) |
DateTimeNodeNameRule |
setDateTimePatternDetector(DateTimePatternDetector dateTimePatternDetector) |
DateTimeNodeNameRule |
setMaximumNameLength(int maximumNameLength) |
public static final int DEFAULT_MAXIMUM_NAME_LENGTH
public boolean isDynamicName(String nodeName)
isDynamicName in interface NodeNameRulepublic DateTimePatternDetector getDateTimePatternDetector()
public DateTimeNodeNameRule setDateTimePatternDetector(DateTimePatternDetector dateTimePatternDetector)
public int getMaximumNameLength()
public DateTimeNodeNameRule setMaximumNameLength(int maximumNameLength)
Copyright (c) 2006-2026 North Concepts Inc. All Rights Reserved.