Class NotebookCellOutputItem
- java.lang.Object
-
- com.azure.analytics.synapse.artifacts.models.NotebookCellOutputItem
-
public final class NotebookCellOutputItem extends Object
An item of the notebook cell execution output.
-
-
Constructor Summary
Constructors Constructor Description NotebookCellOutputItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData()
Get the data property: Output data.Integer
getExecutionCount()
Get the executionCount property: Execution sequence number.Object
getMetadata()
Get the metadata property: Metadata for the output item.String
getName()
Get the name property: For output_type=stream, determines the name of stream (stdout / stderr).CellOutputType
getOutputType()
Get the outputType property: Execution, display, or stream outputs.Object
getText()
Get the text property: For output_type=stream, the stream's text output, represented as a string or an array of strings.NotebookCellOutputItem
setData(Object data)
Set the data property: Output data.NotebookCellOutputItem
setExecutionCount(Integer executionCount)
Set the executionCount property: Execution sequence number.NotebookCellOutputItem
setMetadata(Object metadata)
Set the metadata property: Metadata for the output item.NotebookCellOutputItem
setName(String name)
Set the name property: For output_type=stream, determines the name of stream (stdout / stderr).NotebookCellOutputItem
setOutputType(CellOutputType outputType)
Set the outputType property: Execution, display, or stream outputs.NotebookCellOutputItem
setText(Object text)
Set the text property: For output_type=stream, the stream's text output, represented as a string or an array of strings.
-
-
-
Method Detail
-
getName
public String getName()
Get the name property: For output_type=stream, determines the name of stream (stdout / stderr).- Returns:
- the name value.
-
setName
public NotebookCellOutputItem setName(String name)
Set the name property: For output_type=stream, determines the name of stream (stdout / stderr).- Parameters:
name
- the name value to set.- Returns:
- the NotebookCellOutputItem object itself.
-
getExecutionCount
public Integer getExecutionCount()
Get the executionCount property: Execution sequence number.- Returns:
- the executionCount value.
-
setExecutionCount
public NotebookCellOutputItem setExecutionCount(Integer executionCount)
Set the executionCount property: Execution sequence number.- Parameters:
executionCount
- the executionCount value to set.- Returns:
- the NotebookCellOutputItem object itself.
-
getOutputType
public CellOutputType getOutputType()
Get the outputType property: Execution, display, or stream outputs.- Returns:
- the outputType value.
-
setOutputType
public NotebookCellOutputItem setOutputType(CellOutputType outputType)
Set the outputType property: Execution, display, or stream outputs.- Parameters:
outputType
- the outputType value to set.- Returns:
- the NotebookCellOutputItem object itself.
-
getText
public Object getText()
Get the text property: For output_type=stream, the stream's text output, represented as a string or an array of strings.- Returns:
- the text value.
-
setText
public NotebookCellOutputItem setText(Object text)
Set the text property: For output_type=stream, the stream's text output, represented as a string or an array of strings.- Parameters:
text
- the text value to set.- Returns:
- the NotebookCellOutputItem object itself.
-
getData
public Object getData()
Get the data property: Output data. Use MIME type as key, and content as value.- Returns:
- the data value.
-
setData
public NotebookCellOutputItem setData(Object data)
Set the data property: Output data. Use MIME type as key, and content as value.- Parameters:
data
- the data value to set.- Returns:
- the NotebookCellOutputItem object itself.
-
getMetadata
public Object getMetadata()
Get the metadata property: Metadata for the output item.- Returns:
- the metadata value.
-
setMetadata
public NotebookCellOutputItem setMetadata(Object metadata)
Set the metadata property: Metadata for the output item.- Parameters:
metadata
- the metadata value to set.- Returns:
- the NotebookCellOutputItem object itself.
-
-