Class ResultSetSourceInfo
- java.lang.Object
-
- com.microsoft.azure.kusto.ingest.source.ResultSetSourceInfo
-
- All Implemented Interfaces:
TraceableAttributes,SourceInfo
public class ResultSetSourceInfo extends Object
Represents the ResultSet source information used for ingestion.
-
-
Constructor Summary
Constructors Constructor Description ResultSetSourceInfo(ResultSet resultSet)Creates a ResultSetSourceInfo.ResultSetSourceInfo(ResultSet resultSet, UUID sourceId)Creates a ResultSetSourceInfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResultSetgetResultSet()Gets the ResultSet.UUIDgetSourceId()Map<String,String>getTracingAttributes()voidsetResultSet(ResultSet resultSet)Sets the ResultSet.voidsetSourceId(UUID sourceId)StringtoString()voidvalidate()Checks that this SourceInfo is defined appropriately.
-
-
-
Constructor Detail
-
ResultSetSourceInfo
public ResultSetSourceInfo(ResultSet resultSet)
Creates a ResultSetSourceInfo.- Parameters:
resultSet- The ResultSet with the data to be ingested.
-
-
Method Detail
-
getResultSet
public ResultSet getResultSet()
Gets the ResultSet.- Returns:
- The ResultSet in the SourceInfo
-
setResultSet
public void setResultSet(ResultSet resultSet)
Sets the ResultSet.- Parameters:
resultSet- The ResultSet with the data to be ingested.
-
validate
public void validate()
Description copied from interface:SourceInfoChecks that this SourceInfo is defined appropriately.
-
getTracingAttributes
public Map<String,String> getTracingAttributes()
- Specified by:
getTracingAttributesin interfaceTraceableAttributes
-
getSourceId
public UUID getSourceId()
- Specified by:
getSourceIdin interfaceSourceInfo
-
setSourceId
public void setSourceId(UUID sourceId)
- Specified by:
setSourceIdin interfaceSourceInfo
-
-