Class BroadcastJobTarget
Compute broadcast job target.
public static class BroadcastJobTarget
- Inheritance
-
BroadcastJobTarget
- Inherited Members
Methods
Nodes(params IClusterNode[])
Creates a broadcast job target for all specified nodes.
public static IBroadcastJobTarget<IEnumerable<IClusterNode>> Nodes(params IClusterNode[] nodes)
Parameters
nodesIClusterNode[]Nodes to run the job on.
Returns
- IBroadcastJobTarget<IEnumerable<IClusterNode>>
Job target.
Nodes(IEnumerable<IClusterNode>)
Creates a broadcast job target for all specified nodes.
public static IBroadcastJobTarget<IEnumerable<IClusterNode>> Nodes(IEnumerable<IClusterNode> nodes)
Parameters
nodesIEnumerable<IClusterNode>Nodes to run the job on.
Returns
- IBroadcastJobTarget<IEnumerable<IClusterNode>>
Job target.
Table(QualifiedName)
Creates a broadcast job target for partitioned execution. For every partition of the specified table, the job runs on the node that holds the primary replica of that partition.
Use Partition to get the partition in the job.
public static IBroadcastJobTarget<QualifiedName> Table(QualifiedName tableName)
Parameters
tableNameQualifiedNameTable name.
Returns
- IBroadcastJobTarget<QualifiedName>
Job target.
Table(string)
Creates a broadcast job target for partitioned execution. For every partition of the specified table, the job runs on the node that holds the primary replica of that partition.
Use Partition to get the partition in the job.
public static IBroadcastJobTarget<QualifiedName> Table(string tableName)
Parameters
tableNamestringTable name, with SQL-parser style quotation: "tbl0" means the table "TBL0", ""Tbl0"" means "Tbl0", and so on.
Returns
- IBroadcastJobTarget<QualifiedName>
Job target.