Class DataFile
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
-
- org.odpi.openmetadata.accessservices.dataengine.model.Asset
-
- org.odpi.openmetadata.accessservices.dataengine.model.DataStore
-
- org.odpi.openmetadata.accessservices.dataengine.model.DataFile
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CSVFile
public class DataFile extends DataStore
OM type DataFile- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DataFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)List<Attribute>getColumns()Gets the file columnsStringgetFileType()Gets file typeStringgetNetworkAddress()Gets the network addressStringgetProtocol()Get an Endpoint protocolSchemaTypegetSchema()Gets the file schemainthashCode()voidsetColumns(List<Attribute> columns)Sets the file columnsvoidsetFileType(String fileType)Sets the file typevoidsetNetworkAddress(String networkAddress)Sets the network address.voidsetProtocol(String protocol)Sets the protocol.voidsetSchema(SchemaType schema)Sets the file schemaStringtoString()-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.DataStore
getCreateTime, getEncodingDescription, getEncodingLanguage, getEncodingProperties, getEncodingType, getModifiedTime, getPathName, setCreateTime, setEncodingDescription, setEncodingLanguage, setEncodingProperties, setEncodingType, setModifiedTime, setPathName
-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Asset
getDescription, getDisplayName, getGUID, getOriginBusinessCapabilityGUID, getOriginOrganizationGUID, getOtherOriginValues, getOwner, getOwnerType, getZoneMembership, setDescription, setDisplayName, setGUID, setOriginBusinessCapabilityGUID, setOriginOrganizationGUID, setOtherOriginValues, setOwner, setOwnerType, setZoneMembership
-
Methods inherited from class org.odpi.openmetadata.accessservices.dataengine.model.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedName
-
-
-
-
Method Detail
-
getFileType
public String getFileType()
Gets file type- Returns:
- type
-
getSchema
public SchemaType getSchema()
Gets the file schema- Returns:
- file schema
-
getNetworkAddress
public String getNetworkAddress()
Gets the network address- Returns:
- columns
-
getProtocol
public String getProtocol()
Get an Endpoint protocol- Returns:
- network address
-
setFileType
public void setFileType(String fileType)
Sets the file type- Parameters:
fileType- type
-
setSchema
public void setSchema(SchemaType schema)
Sets the file schema- Parameters:
schema- schema
-
setColumns
public void setColumns(List<Attribute> columns)
Sets the file columns- Parameters:
columns- columns
-
setNetworkAddress
public void setNetworkAddress(String networkAddress)
Sets the network address. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user- Parameters:
networkAddress- network address
-
setProtocol
public void setProtocol(String protocol)
Sets the protocol. Needed to create Endpoint, which in turn is internally generated along with Connection, not provided by user- Parameters:
protocol- protocol
-
-