public static final class LogicalStatistic.Builder extends Object
build():
| Constructor and Description |
|---|
Builder()
Creates a new builder with no fields populated
|
public GraphPath path()
LogicalStatistic.path().LogicalStatistic.path().public LogicalStatistic.Builder path(GraphPath path)
LogicalStatistic.path().path - the value for LogicalStatistic.path().this reference to support method chaining.public VirtualNodeID nodeID()
LogicalStatistic.nodeID().LogicalStatistic.nodeID().public LogicalStatistic.Builder assignment(NodeAllocationState.AssignmentState assignment)
LogicalStatistic.originalNodeID() and LogicalStatistic.nodeID()
based on the specified assignment.assignment - the assignment to use to determine originalNodeID and nodeID.this reference to support method chaining.public LogicalStatistic.Builder nodeID(VirtualNodeID nodeID)
LogicalStatistic.nodeID().nodeID - the value for LogicalStatistic.nodeID().this reference to support method chaining.public VirtualNodeID originalNodeID()
LogicalStatistic.originalNodeID().LogicalStatistic.originalNodeID().public LogicalStatistic.Builder originalNodeID(VirtualNodeID originalNodeID)
LogicalStatistic.originalNodeID().originalNodeID - the value for LogicalStatistic.originalNodeID().this reference to support method chaining.public StatisticDefinition<?> definition()
LogicalStatistic.definition().LogicalStatistic.definition().public StatisticSupplier supplier()
LogicalStatistic.supplier().LogicalStatistic.supplier().public <T extends StatisticSupplier> LogicalStatistic.Builder define(StatisticDefinition<T> definition, T supplier)
LogicalStatistic.definition() and LogicalStatistic.supplier()
based on those specified.T - the type of supplied required by the definitiondefinition - the definitionsupplier - the supplier; must of of the a type that is compatible with the definitionthis reference to support method chaining.public LogicalStatistic.Builder define(RuntimeStatistic<?> statistic)
LogicalStatistic.definition() and LogicalStatistic.supplier()
based on those specified.statistic - the statisticthis reference to support method chaining.public LogicalStatistic build()
build():
Copyright © 2020 Actian Corporation. All rights reserved.