public abstract class FrameReader extends Object
Constructor and Description |
---|
FrameReader() |
Modifier and Type | Method and Description |
---|---|
String[] |
getDefColNames(long clen) |
Types.ValueType[] |
getDefSchema(long clen) |
FrameBlock |
readFrameFromHDFS(String fname,
long rlen,
long clen) |
FrameBlock |
readFrameFromHDFS(String fname,
Types.ValueType[] schema,
long rlen,
long clen) |
abstract FrameBlock |
readFrameFromHDFS(String fname,
Types.ValueType[] schema,
String[] names,
long rlen,
long clen) |
FrameBlock |
readFrameFromInputStream(InputStream is,
long rlen,
long clen) |
FrameBlock |
readFrameFromInputStream(InputStream is,
Types.ValueType[] schema,
long rlen,
long clen) |
abstract FrameBlock |
readFrameFromInputStream(InputStream is,
Types.ValueType[] schema,
String[] names,
long rlen,
long clen) |
public abstract FrameBlock readFrameFromHDFS(String fname, Types.ValueType[] schema, String[] names, long rlen, long clen) throws IOException, DMLRuntimeException
IOException
DMLRuntimeException
public FrameBlock readFrameFromHDFS(String fname, Types.ValueType[] schema, long rlen, long clen) throws IOException, DMLRuntimeException
IOException
DMLRuntimeException
public FrameBlock readFrameFromHDFS(String fname, long rlen, long clen) throws IOException, DMLRuntimeException
IOException
DMLRuntimeException
public abstract FrameBlock readFrameFromInputStream(InputStream is, Types.ValueType[] schema, String[] names, long rlen, long clen) throws IOException, DMLRuntimeException
IOException
DMLRuntimeException
public FrameBlock readFrameFromInputStream(InputStream is, Types.ValueType[] schema, long rlen, long clen) throws IOException, DMLRuntimeException
IOException
DMLRuntimeException
public FrameBlock readFrameFromInputStream(InputStream is, long rlen, long clen) throws IOException, DMLRuntimeException
IOException
DMLRuntimeException
public Types.ValueType[] getDefSchema(long clen) throws DMLRuntimeException
DMLRuntimeException
public String[] getDefColNames(long clen) throws DMLRuntimeException
DMLRuntimeException
Copyright © 2020 The Apache Software Foundation. All rights reserved.