Class CsvDatasource
java.lang.Object
net.datenwerke.treedb.service.treedb.AbstractNode<AbstractDatasourceManagerNode>
net.datenwerke.security.service.treedb.entities.SecuredAbstractNode<AbstractDatasourceManagerNode>
net.datenwerke.rs.core.service.datasourcemanager.entities.AbstractDatasourceManagerNode
net.datenwerke.rs.core.service.datasourcemanager.entities.DatasourceDefinition
net.datenwerke.rs.base.service.datasources.definitions.FormatBasedDatasourceDefinition
net.datenwerke.rs.base.service.datasources.definitions.CsvDatasource
- All Implemented Interfaces:
Serializable,CacheableDatasource,HierarchicalSecurityTarget,Owneable,SecurityTarget
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@GenerateDto(dtoPackage="net.datenwerke.rs.base.client.datasources.dto")
@Indexed
public class CsvDatasource
extends FormatBasedDatasourceDefinition
implements CacheableDatasource
- See Also:
-
Field Summary
Fields inherited from class net.datenwerke.treedb.service.treedb.AbstractNode
FLAG_CONFIGURATION_PROTECTION, FLAG_WRITE_PROTECTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDataAsString(FormatBasedDatasourceConfig dsConfig) intgetQuote()voidsetDatabaseCache(int databaseCache) voidvoidsetSeparator(String separator) Methods inherited from class net.datenwerke.rs.base.service.datasources.definitions.FormatBasedDatasourceDefinition
getConnector, getDataStream, setConnectorMethods inherited from class net.datenwerke.rs.core.service.datasourcemanager.entities.DatasourceDefinition
escapeString, getDescription, getKey, getName, hasChildren, setDescription, setKey, setName, toStringMethods inherited from class net.datenwerke.rs.core.service.datasourcemanager.entities.AbstractDatasourceManagerNode
getNodeName, getRootNodeNameMethods inherited from class net.datenwerke.security.service.treedb.entities.SecuredAbstractNode
getAcl, getOwner, getParentTarget, setAcl, setOwnerMethods inherited from class net.datenwerke.treedb.service.treedb.AbstractNode
addChild, addChild, addFlag, clearFlags, equals, getBaseType, getChildren, getChildrenOfType, getChildrenSorted, getCreatedOn, getDeniedChildren, getDescendants, getDescendants, getFlags, getId, getIdOrOldTransient, getLastUpdated, getManagerClass, getOldTransientId, getOldTransientKey, getParent, getPosition, getRootLine, getSupportedChildren, getVersion, hasChildrenOfType, hasDescendantsOfType, hasFlag, hashCode, idsMatch, isAncestorOf, isConfigurationProtected, isFolder, isRoot, isUpdateLastUpdated, isWriteProtected, removeChild, removeFlag, setChildren, setConfigurationProtection, setCreatedOn, setFlags, setId, setLastUpdated, setOldTransientId, setOldTransientKey, setParent, setPosition, setUpdateLastUpdated, setVersion, setWriteProtection, wouldContainFlag
-
Constructor Details
-
CsvDatasource
public CsvDatasource()
-
-
Method Details
-
createConfigObject
- Specified by:
createConfigObjectin classDatasourceDefinition
-
setQuote
-
getQuote
-
setSeparator
-
getSeparator
-
getDataAsString
- Throws:
IOException
-
getDatabaseCache
public int getDatabaseCache()- Specified by:
getDatabaseCachein interfaceCacheableDatasource
-
setDatabaseCache
public void setDatabaseCache(int databaseCache)
-