Package | Description |
---|---|
org.ojai | |
org.ojai.json | |
org.ojai.util |
Modifier and Type | Method and Description |
---|---|
DocumentReader.EventType |
DocumentReader.getCurrentEvent() |
DocumentReader.EventType |
DocumentReader.next()
Moves the
DocumentReader to the next node and returns the node
type as EventType . |
static DocumentReader.EventType |
DocumentReader.EventType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DocumentReader.EventType[] |
DocumentReader.EventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
DocumentReader.EventType |
Events.EventDescriptor.getEventType() |
Modifier and Type | Method and Description |
---|---|
boolean |
Events.Delegate.process(DocumentReader reader,
DocumentReader.EventType event,
Queue<Events.EventDescriptor> eventQueue) |
boolean |
Events.BaseDelegate.process(DocumentReader reader,
DocumentReader.EventType event,
Queue<Events.EventDescriptor> eventQueue) |
Constructor and Description |
---|
EventDescriptor(DocumentReader.EventType eventType) |
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.BiMap<Value.Type,DocumentReader.EventType> |
Types.TYPE_EVENTTYPE_MAP |
Modifier and Type | Method and Description |
---|---|
DocumentReader.EventType |
DocumentReaderWithProjection.getCurrentEvent() |
static DocumentReader.EventType |
Types.getEventTypeForType(Value.Type type)
Returns the
EventType for the specified Type . |
DocumentReader.EventType |
DocumentReaderWithProjection.next() |
Modifier and Type | Method and Description |
---|---|
static Value.Type |
Types.getTypeForEventType(DocumentReader.EventType event)
Returns the
Type for the specified EventType . |
void |
FieldProjector.moveTo(DocumentReader.EventType event)
This is the main algorithm that determine if the current
DocumentReader
node should be included or excluded based on the set of projected fields. |
protected void |
BaseFieldProjector.moveTo(DocumentReader.EventType event)
This is the main algorithm that determine if the current
DocumentReader or
MutableFieldSegment node should be included or excluded based on the set
of projected fields. |
protected void |
BaseFieldProjector.moveTo(org.ojai.util.impl.MutableFieldSegment keySegment,
DocumentReader.EventType event)
To be used when input
Document is not from a DocumentReader
but provided externally as a MutableFieldSegment . |
Copyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.