Package | Description |
---|---|
org.ojai | |
org.ojai.json | |
org.ojai.store | |
org.ojai.store.cdc | |
org.ojai.util |
Modifier and Type | Method and Description |
---|---|
Value.Type |
Value.getType() |
static Value.Type |
Value.Type.valueOf(int typeCode) |
static Value.Type |
Value.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Value.Type[] |
Value.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static DocumentStream |
Json.newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path,
Map<FieldPath,Value.Type> fieldPathTypeMap) |
static DocumentStream |
Json.newDocumentStream(InputStream in,
Map<FieldPath,Value.Type> fieldPathTypeMap)
Returns a new instance of s JSON DocumentStream from the specified InputStream
using the FieldPath => Type mapping to decode the JSON tokens from the stream.
|
Modifier and Type | Method and Description |
---|---|
QueryCondition |
QueryCondition.notTypeOf(FieldPath path,
Value.Type type)
Adds a condition that tests if the
Value at the specified
FieldPath is not of the specified Type . |
QueryCondition |
QueryCondition.notTypeOf(String path,
Value.Type type)
Adds a condition that tests if the
Value at the specified
FieldPath is not of the specified Type . |
QueryCondition |
QueryCondition.typeOf(FieldPath path,
Value.Type type)
Adds a condition that tests if the
Value at the specified
FieldPath is of the specified Type . |
QueryCondition |
QueryCondition.typeOf(String path,
Value.Type type)
Adds a condition that tests if the
Value at the specified
FieldPath is of the specified Type . |
Modifier and Type | Method and Description |
---|---|
Value.Type |
ChangeNode.getType()
Returns the type of the
OJAI Value of the
current node.Returns null if ChangeOp is not
SET or MERGE . |
Value.Type |
ChangeDataReader.getType() |
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 |
---|---|
static Value.Type |
Types.getTypeForEventType(DocumentReader.EventType event)
Returns the
Type for the specified EventType . |
Modifier and Type | Method and Description |
---|---|
static DocumentReader.EventType |
Types.getEventTypeForType(Value.Type type)
Returns the
EventType for the specified Type . |
static String |
Types.getTypeTag(Value.Type type) |
static boolean |
Types.isExtendedType(Value.Type type) |
Copyright © 2015–2019 MapR Technologies, Inc.. All rights reserved.