Class SimpleArrayListener
java.lang.Object
org.apache.drill.exec.store.easy.json.loader.SimpleArrayListener
- All Implemented Interfaces:
ArrayListener
- Direct Known Subclasses:
SimpleArrayListener.StructureArrayListener
Base class for scalar and object arrays. Represents the array
behavior of a field.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SimpleArrayListener
public SimpleArrayListener()
-
-
Method Details
-
onStart
public void onStart()Description copied from interface:ArrayListenerCalled at the entrance to each level (dimension) of an array. That is, called when the structure parser accepts the[token.- Specified by:
onStartin interfaceArrayListener
-
onElementStart
public void onElementStart()Description copied from interface:ArrayListenerCalled for each element of the array. The array element is represented by its own listener which receives the value of the element (if scalar) or element events (if structured.)- Specified by:
onElementStartin interfaceArrayListener
-
onElementEnd
public void onElementEnd()Description copied from interface:ArrayListenerCalled after each element of the array.- Specified by:
onElementEndin interfaceArrayListener
-
onEnd
public void onEnd()Description copied from interface:ArrayListenerCalled at the end of a set of values for an array. That is, called when the structure parser accepts the]token.- Specified by:
onEndin interfaceArrayListener
-