java.lang.Object
SaveOptions
com.aspose.cells.SqlScriptSaveOptions
public class SqlScriptSaveOptions
- extends SaveOptions
Represents the options of saving sql.
SqlScriptSaveOptions
public SqlScriptSaveOptions()
-
Creates options for saving sql file.
|
Property Getters/Setters Detail |
getCheckIfTableExists/setCheckIfTableExists | |
public boolean getCheckIfTableExists() / public void setCheckIfTableExists(boolean value)
|
-
Check if the table name exists before creating
setCheckIfTableExists | |
public void setCheckIfTableExists(boolean value)
|
-
Check if the table name exists before creating
-
Gets and sets the map of column type for different database.
-
Gets and sets the map of column type for different database.
getCheckAllDataForColumnType/setCheckAllDataForColumnType | |
public boolean getCheckAllDataForColumnType() / public void setCheckAllDataForColumnType(boolean value)
|
-
Check all data to find columns' data type.
The default value is false, we only check the first row for performance.
If this property is true and the columns contains mixed value type, the columns' type will be text.
setCheckAllDataForColumnType | |
public void setCheckAllDataForColumnType(boolean value)
|
-
Check all data to find columns' data type.
The default value is false, we only check the first row for performance.
If this property is true and the columns contains mixed value type, the columns' type will be text.
getAddBlankLineBetweenRows/setAddBlankLineBetweenRows | |
public boolean getAddBlankLineBetweenRows() / public void setAddBlankLineBetweenRows(boolean value)
|
-
Insert blank line between each data.
If Separator is '\n' , it's better to set this property as true to increase readability.
setAddBlankLineBetweenRows | |
public void setAddBlankLineBetweenRows(boolean value)
|
-
Insert blank line between each data.
If Separator is '\n' , it's better to set this property as true to increase readability.
getSeparator/setSeparator | |
public char getSeparator() / public void setSeparator(char value)
|
-
Gets and sets character separator of sql script.
Only can be ' ' or '\n'.
If the
setSeparator | |
public void setSeparator(char value)
|
-
Gets and sets character separator of sql script.
Only can be ' ' or '\n'.
If the
getOperatorType/setOperatorType | |
public int getOperatorType() / public void setOperatorType(int value)
|
-
Gets and sets the operator type of sql.
The value of the property is SqlScriptOperatorType integer constant.
setOperatorType | |
public void setOperatorType(int value)
|
-
Gets and sets the operator type of sql.
The value of the property is SqlScriptOperatorType integer constant.
getPrimaryKey/setPrimaryKey | |
public int getPrimaryKey() / public void setPrimaryKey(int value)
|
-
Represents which column is primary key of the data table.
setPrimaryKey | |
public void setPrimaryKey(int value)
|
-
Represents which column is primary key of the data table.
getCreateTable/setCreateTable | |
public boolean getCreateTable() / public void setCreateTable(boolean value)
|
-
Indicates whether exporting sql of creating table.
setCreateTable | |
public void setCreateTable(boolean value)
|
-
Indicates whether exporting sql of creating table.
getIdName/setIdName | |
public java.lang.String getIdName() / public void setIdName(java.lang.String value)
|
-
Gets and sets the name of id column.
If this property is set , a column will be inserted with automatical increment int value.
setIdName | |
public void setIdName(java.lang.String value)
|
-
Gets and sets the name of id column.
If this property is set , a column will be inserted with automatical increment int value.
getStartId/setStartId | |
public int getStartId() / public void setStartId(int value)
|
-
Gets and sets the start id.
Only works when IdName is set.
setStartId | |
public void setStartId(int value)
|
-
Gets and sets the start id.
Only works when IdName is set.
getTableName/setTableName | |
public java.lang.String getTableName() / public void setTableName(java.lang.String value)
|
-
Gets and sets the table name.
setTableName | |
public void setTableName(java.lang.String value)
|
-
Gets and sets the table name.
getExportAsString/setExportAsString | |
public boolean getExportAsString() / public void setExportAsString(boolean value)
|
-
Indicates whether exporting all data as string value.
setExportAsString | |
public void setExportAsString(boolean value)
|
-
Indicates whether exporting all data as string value.
getSheetIndexes/setSheetIndexes | |
public int[] getSheetIndexes() / public void setSheetIndexes(int[] value)
|
-
Represents the indexes of exported sheets.
setSheetIndexes | |
public void setSheetIndexes(int[] value)
|
-
Represents the indexes of exported sheets.
getExportArea/setExportArea | |
public CellArea getExportArea() / public void setExportArea(CellArea value)
|
-
Gets or sets the exporting range.
setExportArea | |
public void setExportArea(CellArea value)
|
-
Gets or sets the exporting range.
hasHeaderRow/setHasHeaderRow | |
public boolean hasHeaderRow() / public void setHasHeaderRow(boolean value)
|
-
Indicates whether the range contains header row.
setHasHeaderRow | |
public void setHasHeaderRow(boolean value)
|
-
Indicates whether the range contains header row.
getSaveFormat | → inherited from SaveOptions
|
public int getSaveFormat()
|
-
Gets the save file format.
The value of the property is SaveFormat integer constant.
getClearData/setClearData | → inherited from SaveOptions
|
public boolean getClearData() / public void setClearData(boolean value)
|
-
Make the workbook empty after saving the file.
setClearData | → inherited from SaveOptions
|
public void setClearData(boolean value)
|
-
Make the workbook empty after saving the file.
getCachedFileFolder/setCachedFileFolder | → inherited from SaveOptions
|
public java.lang.String getCachedFileFolder() / public void setCachedFileFolder(java.lang.String value)
|
-
The cached file folder is used to store some large data.
setCachedFileFolder | → inherited from SaveOptions
|
public void setCachedFileFolder(java.lang.String value)
|
-
The cached file folder is used to store some large data.
getValidateMergedAreas/setValidateMergedAreas | → inherited from SaveOptions
|
public boolean getValidateMergedAreas() / public void setValidateMergedAreas(boolean value)
|
-
Indicates whether validate merged cells before saving the file.
The default value is false.
setValidateMergedAreas | → inherited from SaveOptions
|
public void setValidateMergedAreas(boolean value)
|
-
Indicates whether validate merged cells before saving the file.
The default value is false.
getMergeAreas/setMergeAreas | → inherited from SaveOptions
|
public boolean getMergeAreas() / public void setMergeAreas(boolean value)
|
-
Indicates whether merge the areas of conditional formatting and validation before saving the file.
The default value is false.
setMergeAreas | → inherited from SaveOptions
|
public void setMergeAreas(boolean value)
|
-
Indicates whether merge the areas of conditional formatting and validation before saving the file.
The default value is false.
getCreateDirectory/setCreateDirectory | → inherited from SaveOptions
|
public boolean getCreateDirectory() / public void setCreateDirectory(boolean value)
|
-
If true and the directory does not exist, the directory will be automatically created before saving the file.
The default value is false.
setCreateDirectory | → inherited from SaveOptions
|
public void setCreateDirectory(boolean value)
|
-
If true and the directory does not exist, the directory will be automatically created before saving the file.
The default value is false.
getSortNames/setSortNames | → inherited from SaveOptions
|
public boolean getSortNames() / public void setSortNames(boolean value)
|
-
Indicates whether sorting defined names before saving file.
setSortNames | → inherited from SaveOptions
|
public void setSortNames(boolean value)
|
-
Indicates whether sorting defined names before saving file.
getSortExternalNames/setSortExternalNames | → inherited from SaveOptions
|
public boolean getSortExternalNames() / public void setSortExternalNames(boolean value)
|
-
Indicates whether sorting external defined names before saving file.
setSortExternalNames | → inherited from SaveOptions
|
public void setSortExternalNames(boolean value)
|
-
Indicates whether sorting external defined names before saving file.
getRefreshChartCache/setRefreshChartCache | → inherited from SaveOptions
|
public boolean getRefreshChartCache() / public void setRefreshChartCache(boolean value)
|
-
Indicates whether refreshing chart cache data
setRefreshChartCache | → inherited from SaveOptions
|
public void setRefreshChartCache(boolean value)
|
-
Indicates whether refreshing chart cache data
-
Gets or sets warning callback.
-
Gets or sets warning callback.
getUpdateSmartArt/setUpdateSmartArt | → inherited from SaveOptions
|
public boolean getUpdateSmartArt() / public void setUpdateSmartArt(boolean value)
|
-
Indicates whether updating smart art setting.
The default value is false.
Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.
setUpdateSmartArt | → inherited from SaveOptions
|
public void setUpdateSmartArt(boolean value)
|
-
Indicates whether updating smart art setting.
The default value is false.
Only effects after calling Shape.GetResultOfSmartArt() method and the cached shapes exist in the template file.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.