Class FileQueryArrowField
java.lang.Object
com.azure.storage.file.datalake.models.FileQueryArrowField
Defines an arrow field for a file quick query request.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Gets the name of the field.Gets the precision of the field.getScale()
Gets the scale of the field.getType()
Gets theFileQueryArrowFieldType
of the field.Sets the name of the field.setPrecision
(Integer precision) Sets the precision of the field.Sets the scale of the field.
-
Constructor Details
-
FileQueryArrowField
Creates a new instance ofFileQueryArrowField
.- Parameters:
type
-FileQueryArrowFieldType
-
-
Method Details
-
setName
Sets the name of the field.- Parameters:
name
- The name of the field.- Returns:
- The updated options.
-
setPrecision
Sets the precision of the field. Required if type isFileQueryArrowFieldType.DECIMAL
.- Parameters:
precision
- The precision of the field. Required if type isFileQueryArrowFieldType.DECIMAL
- Returns:
- The updated options.
-
setScale
Sets the scale of the field. Required if type isFileQueryArrowFieldType.DECIMAL
.- Parameters:
scale
- The scale of the field. Required if type isFileQueryArrowFieldType.DECIMAL
- Returns:
- The updated options.
-
getName
Gets the name of the field.- Returns:
- The name.
-
getPrecision
Gets the precision of the field.- Returns:
- The precision.
-
getScale
Gets the scale of the field.- Returns:
- The scale.
-
getType
Gets theFileQueryArrowFieldType
of the field.- Returns:
FileQueryArrowFieldType
-