NotebookCellOutputItem Class
- java.
lang. Object - com.
azure. analytics. synapse. artifacts. models. NotebookCellOutputItem
- com.
Implements
public final class NotebookCellOutputItem
implements JsonSerializable<NotebookCellOutputItem>
An item of the notebook cell execution output.
Constructor Summary
| Constructor | Description |
|---|---|
| NotebookCellOutputItem() |
Creates an instance of Notebook |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Notebook |
fromJson(JsonReader jsonReader)
Reads an instance of Notebook |
| Object |
getData()
Get the data property: Output data. |
| Integer |
getExecutionCount()
Get the execution |
| 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). |
|
Cell |
getOutputType()
Get the output |
| Object |
getText()
Get the text property: For output_type=stream, the stream's text output, represented as a string or an array of strings. |
|
Notebook |
setData(Object data)
Set the data property: Output data. |
|
Notebook |
setExecutionCount(Integer executionCount)
Set the execution |
|
Notebook |
setMetadata(Object metadata)
Set the metadata property: Metadata for the output item. |
|
Notebook |
setName(String name)
Set the name property: For output_type=stream, determines the name of stream (stdout / stderr). |
|
Notebook |
setOutputType(CellOutputType outputType)
Set the output |
|
Notebook |
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. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
NotebookCellOutputItem
public NotebookCellOutputItem()
Creates an instance of NotebookCellOutputItem class.
Method Details
fromJson
public static NotebookCellOutputItem fromJson(JsonReader jsonReader)
Reads an instance of NotebookCellOutputItem from the JsonReader.
Parameters:
Returns:
Throws:
getData
public Object getData()
Get the data property: Output data. Use MIME type as key, and content as value.
Returns:
getExecutionCount
public Integer getExecutionCount()
Get the executionCount property: Execution sequence number.
Returns:
getMetadata
public Object getMetadata()
Get the metadata property: Metadata for the output item.
Returns:
getName
public String getName()
Get the name property: For output_type=stream, determines the name of stream (stdout / stderr).
Returns:
getOutputType
public CellOutputType getOutputType()
Get the outputType property: Execution, display, or stream outputs.
Returns:
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:
setData
public NotebookCellOutputItem setData(Object data)
Set the data property: Output data. Use MIME type as key, and content as value.
Parameters:
Returns:
setExecutionCount
public NotebookCellOutputItem setExecutionCount(Integer executionCount)
Set the executionCount property: Execution sequence number.
Parameters:
Returns:
setMetadata
public NotebookCellOutputItem setMetadata(Object metadata)
Set the metadata property: Metadata for the output item.
Parameters:
Returns:
setName
public NotebookCellOutputItem setName(String name)
Set the name property: For output_type=stream, determines the name of stream (stdout / stderr).
Parameters:
Returns:
setOutputType
public NotebookCellOutputItem setOutputType(CellOutputType outputType)
Set the outputType property: Execution, display, or stream outputs.
Parameters:
Returns:
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:
Returns: