Share via


FileQueryArrowField Class

  • java.lang.Object
    • com.azure.storage.file.datalake.models.FileQueryArrowField

public class FileQueryArrowField

Defines an arrow field for a file quick query request.

Constructor Summary

Constructor Description
FileQueryArrowField(FileQueryArrowFieldType type)

Creates a new instance of FileQueryArrowField.

Method Summary

Modifier and Type Method and Description
String getName()

Gets the name of the field.

Integer getPrecision()

Gets the precision of the field.

Integer getScale()

Gets the scale of the field.

FileQueryArrowFieldType getType()

Gets the FileQueryArrowFieldType of the field.

FileQueryArrowField setName(String name)

Sets the name of the field.

FileQueryArrowField setPrecision(Integer precision)

Sets the precision of the field.

FileQueryArrowField setScale(Integer scale)

Sets the scale of the field.

Methods inherited from java.lang.Object

Constructor Details

FileQueryArrowField

public FileQueryArrowField(FileQueryArrowFieldType type)

Creates a new instance of FileQueryArrowField.

Parameters:

Method Details

getName

public String getName()

Gets the name of the field.

Returns:

The name.

getPrecision

public Integer getPrecision()

Gets the precision of the field.

Returns:

The precision.

getScale

public Integer getScale()

Gets the scale of the field.

Returns:

The scale.

getType

public FileQueryArrowFieldType getType()

Gets the FileQueryArrowFieldType of the field.

Returns:

setName

public FileQueryArrowField setName(String name)

Sets the name of the field.

Parameters:

name - The name of the field.

Returns:

The updated options.

setPrecision

public FileQueryArrowField setPrecision(Integer precision)

Sets the precision of the field. Required if type is DECIMAL.

Parameters:

precision - The precision of the field. Required if type is DECIMAL

Returns:

The updated options.

setScale

public FileQueryArrowField setScale(Integer scale)

Sets the scale of the field. Required if type is DECIMAL.

Parameters:

scale - The scale of the field. Required if type is DECIMAL

Returns:

The updated options.

Applies to