public interface Metadata extends Readable
| Modifier and Type | Method and Description |
|---|---|
default Metadata |
childAt(int... positions) |
default Metadata |
childAt(int[] positions,
int level) |
default java.util.stream.Stream<Metadata> |
children()
Returns the direct children of this node in a flat list.
|
default Operator |
getOperator() |
default java.util.stream.Stream<Metadata> |
left()
Returns the direct left children of this node in a flat list.
|
default java.lang.String |
markdown() |
default java.lang.String |
markdown(java.util.Locale locale) |
default java.lang.String |
readable()
Returns the human readable version of this object.
|
default java.lang.String |
readable(java.util.Locale locale)
Returns the human readable version of this object.
|
default Metadata |
reduce(Context context,
ReduceType type)
Returns the reduce metadata tree from the given context.
|
default java.util.stream.Stream<Metadata> |
right()
Returns the direct right children of this node in a flat list.
|
MetadataType |
type()
Returns the metadata type.
|
default Operator getOperator()
default java.lang.String readable(java.util.Locale locale)
locale - the locale to usereadable()default java.lang.String readable()
Readabledefault java.lang.String markdown()
default java.lang.String markdown(java.util.Locale locale)
default java.util.stream.Stream<Metadata> left()
default java.util.stream.Stream<Metadata> right()
default java.util.stream.Stream<Metadata> children()
default Metadata childAt(int... positions)
default Metadata childAt(int[] positions, int level)
MetadataType type()
default Metadata reduce(Context context, ReduceType type)
context - the evaluated contexttype - the type of reduction