java.lang.Object
io.xpipe.core.util.JacksonizedValue
io.xpipe.core.source.DataSource<DS>
- Direct Known Subclasses:
CollectionDataSource,RawDataSource,StructureDataSource,TableDataSource,TextDataSource
Represents a formal description on what exactly makes up the
actual data source and how to access/locate it for a given data store.
This instance is only valid in combination with its associated data store instance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <DSD extends DataSource<?>>
DSDasNeeded()Casts this instance to the required type without checking whether a cast is possible.void<T extends DataSource<DS>>
Tcopy()static DataSource<?>createInternalDataSource(DataSourceType t, DataStore store) Determines on optional default name for this data store that is used when determining a suitable default name for a data source.getFlow()getStore()abstract DataSourceTypegetType()booleanopenWriteConnection(WriteMode mode) voidvalidate()Methods inherited from class io.xpipe.core.util.JacksonizedValue
equals, hashCode, toString
-
Field Details
-
store
-
-
Constructor Details
-
DataSource
public DataSource()
-
-
Method Details
-
createInternalDataSource
-
isComplete
public boolean isComplete() -
checkComplete
- Throws:
Exception
-
validate
- Throws:
Exception
-
getAvailableWriteModes
-
getFlow
-
copy
-
withStore
-
asNeeded
Casts this instance to the required type without checking whether a cast is possible. -
determineDefaultName
Determines on optional default name for this data store that is used when determining a suitable default name for a data source. -
openReadConnection
- Throws:
Exception
-
openWriteConnection
- Throws:
Exception
-
getStore
-
getType
-