Class PreviewIngestionFile
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.PreviewIngestionFile
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class PreviewIngestionFile extends com.ibm.cloud.sdk.core.service.model.GenericModel
Schema of the data in the source file.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>
getColumnNames()
Gets the columnNames.java.util.List<java.lang.String>
getColumnTypes()
Gets the columnTypes.java.lang.String
getFileName()
Gets the fileName.PreviewIngestionFileRows
getRows()
Gets the rows.
-
-
-
Method Detail
-
getColumnNames
public java.util.List<java.lang.String> getColumnNames()
Gets the columnNames. Array of column names of the table.- Returns:
- the columnNames
-
getColumnTypes
public java.util.List<java.lang.String> getColumnTypes()
Gets the columnTypes. Array of column types of the table.- Returns:
- the columnTypes
-
getFileName
public java.lang.String getFileName()
Gets the fileName. Name of the file being previewed.- Returns:
- the fileName
-
getRows
public PreviewIngestionFileRows getRows()
Gets the rows. First 10 rows of the table.- Returns:
- the rows
-
-