Class AllocatesConstantAnnotationParser
java.lang.Object
org.elasticsearch.painless.spi.annotation.AllocatesConstantAnnotationParser
- All Implemented Interfaces:
WhitelistAnnotationParser
Parses
@allocates_constant[bytes="40b"]: a single bytes argument holding a non-negative
ByteSizeValue (a unit is required except for "0").-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final AllocatesConstantAnnotationParserFields inherited from interface org.elasticsearch.painless.spi.annotation.WhitelistAnnotationParser
BASE_ANNOTATION_PARSERS -
Method Summary
-
Field Details
-
BYTES
- See Also:
-
INSTANCE
-
-
Method Details
-
parse
- Specified by:
parsein interfaceWhitelistAnnotationParser
-