@API.Public @API.Factory public class Hadoop extends Object
DocumentStream
from Hadoop FileSystem files.| Constructor and Description |
|---|
Hadoop() |
| Modifier and Type | Method and Description |
|---|---|
static org.ojai.DocumentStream |
newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path) |
static org.ojai.DocumentStream |
newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path,
org.ojai.json.Events.Delegate eventDelegate) |
static org.ojai.DocumentStream |
newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path,
Map<org.ojai.FieldPath,org.ojai.Value.Type> fieldPathTypeMap) |
static org.ojai.DocumentStream |
newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path,
Map<org.ojai.FieldPath,org.ojai.Value.Type> map,
org.ojai.json.Events.Delegate delegate) |
public static org.ojai.DocumentStream newDocumentStream(@API.NonNullable
org.apache.hadoop.fs.FileSystem fs,
@API.NonNullable
String path)
throws org.ojai.exceptions.DecodingException,
IOException
org.ojai.exceptions.DecodingExceptionIOExceptionpublic static org.ojai.DocumentStream newDocumentStream(@API.NonNullable
org.apache.hadoop.fs.FileSystem fs,
@API.NonNullable
String path,
@API.NonNullable
Map<org.ojai.FieldPath,org.ojai.Value.Type> fieldPathTypeMap)
throws org.ojai.exceptions.DecodingException,
IOException
org.ojai.exceptions.DecodingExceptionIOExceptionpublic static org.ojai.DocumentStream newDocumentStream(@API.NonNullable
org.apache.hadoop.fs.FileSystem fs,
@API.NonNullable
String path,
@API.NonNullable
org.ojai.json.Events.Delegate eventDelegate)
throws org.ojai.exceptions.DecodingException,
IOException
org.ojai.exceptions.DecodingExceptionIOExceptionpublic static org.ojai.DocumentStream newDocumentStream(org.apache.hadoop.fs.FileSystem fs,
String path,
Map<org.ojai.FieldPath,org.ojai.Value.Type> map,
org.ojai.json.Events.Delegate delegate)
throws IllegalArgumentException,
IOException
IllegalArgumentExceptionIOExceptionCopyright © 2015–2020 MapR Technologies, Inc.. All rights reserved.