java.lang.Object
io.xpipe.api.impl.DataSourceImpl
io.xpipe.api.impl.DataRawImpl
- All Implemented Interfaces:
DataRaw,DataSource
-
Constructor Summary
ConstructorsConstructorDescriptionDataRawImpl(io.xpipe.core.source.DataStoreId sourceId, DataSourceConfig sourceConfig, io.xpipe.core.source.DataSource<?> internalSource) -
Method Summary
Methods inherited from class io.xpipe.api.impl.DataSourceImpl
appendTo, create, create, create, forwardTo, get, getConfig, getId, getInternalSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.xpipe.api.DataSource
appendTo, asStructure, asTable, asText, forwardTo, getConfig, getId, getInternalSource
-
Constructor Details
-
DataRawImpl
public DataRawImpl(io.xpipe.core.source.DataStoreId sourceId, DataSourceConfig sourceConfig, io.xpipe.core.source.DataSource<?> internalSource)
-
-
Method Details
-
open
-
readAll
public byte[] readAll() -
read
public byte[] read(int maxBytes) -
getType
public io.xpipe.core.source.DataSourceType getType()Description copied from interface:DataSourceReturns the type of this data source.- Specified by:
getTypein interfaceDataSource
-
asRaw
Description copied from interface:DataSourceAttempts to cast this object to aDataRaw.- Specified by:
asRawin interfaceDataSource
-