类 GraphAlgebra.GroupBy.AggFunc.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>
-
- com.alibaba.graphscope.gaia.proto.GraphAlgebra.GroupBy.AggFunc.Builder
-
- 所有已实现的接口:
GraphAlgebra.GroupBy.AggFuncOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
public static final class GraphAlgebra.GroupBy.AggFunc.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GraphAlgebra.GroupBy.AggFunc.Builder> implements GraphAlgebra.GroupBy.AggFuncOrBuilder
To define the function to be applied on each group after performing grouping. For example, GROUPBY({a, b}, COUNT_DISTINCT(c, d) as e), one shall count distinct present of the pairs (c, d), and alias the count as e.Protobuf typealgebra.GroupBy.AggFunc
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 GraphAlgebra.GroupBy.AggFunc.BuilderaddAllVars(Iterable<? extends OuterExpression.Variable> values)The variables to apply this aggregation TODO(longbin) An expression here is a more general formGraphAlgebra.GroupBy.AggFunc.BuilderaddVars(int index, OuterExpression.Variable value)The variables to apply this aggregation TODO(longbin) An expression here is a more general formGraphAlgebra.GroupBy.AggFunc.BuilderaddVars(int index, OuterExpression.Variable.Builder builderForValue)The variables to apply this aggregation TODO(longbin) An expression here is a more general formGraphAlgebra.GroupBy.AggFunc.BuilderaddVars(OuterExpression.Variable value)The variables to apply this aggregation TODO(longbin) An expression here is a more general formGraphAlgebra.GroupBy.AggFunc.BuilderaddVars(OuterExpression.Variable.Builder builderForValue)The variables to apply this aggregation TODO(longbin) An expression here is a more general formOuterExpression.Variable.BuilderaddVarsBuilder()The variables to apply this aggregation TODO(longbin) An expression here is a more general formOuterExpression.Variable.BuilderaddVarsBuilder(int index)The variables to apply this aggregation TODO(longbin) An expression here is a more general formGraphAlgebra.GroupBy.AggFuncbuild()GraphAlgebra.GroupBy.AggFuncbuildPartial()GraphAlgebra.GroupBy.AggFunc.Builderclear()GraphAlgebra.GroupBy.AggFunc.BuilderclearAggregate()The aggregate functionGraphAlgebra.GroupBy.AggFunc.BuilderclearAlias()The alias for the aggregated valueGraphAlgebra.GroupBy.AggFunc.BuilderclearVars()The variables to apply this aggregation TODO(longbin) An expression here is a more general formGraphAlgebra.GroupBy.AggFunc.AggregategetAggregate()The aggregate functionintgetAggregateValue()The aggregate functionCommon.NameOrIdgetAlias()The alias for the aggregated valueCommon.NameOrId.BuildergetAliasBuilder()The alias for the aggregated valueCommon.NameOrIdOrBuildergetAliasOrBuilder()The alias for the aggregated valueGraphAlgebra.GroupBy.AggFuncgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()OuterExpression.VariablegetVars(int index)The variables to apply this aggregation TODO(longbin) An expression here is a more general formOuterExpression.Variable.BuildergetVarsBuilder(int index)The variables to apply this aggregation TODO(longbin) An expression here is a more general formList<OuterExpression.Variable.Builder>getVarsBuilderList()The variables to apply this aggregation TODO(longbin) An expression here is a more general formintgetVarsCount()The variables to apply this aggregation TODO(longbin) An expression here is a more general formList<OuterExpression.Variable>getVarsList()The variables to apply this aggregation TODO(longbin) An expression here is a more general formOuterExpression.VariableOrBuildergetVarsOrBuilder(int index)The variables to apply this aggregation TODO(longbin) An expression here is a more general formList<? extends OuterExpression.VariableOrBuilder>getVarsOrBuilderList()The variables to apply this aggregation TODO(longbin) An expression here is a more general formbooleanhasAlias()The alias for the aggregated valueprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()GraphAlgebra.GroupBy.AggFunc.BuildermergeAlias(Common.NameOrId value)The alias for the aggregated valueGraphAlgebra.GroupBy.AggFunc.BuildermergeFrom(GraphAlgebra.GroupBy.AggFunc other)GraphAlgebra.GroupBy.AggFunc.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)GraphAlgebra.GroupBy.AggFunc.BuildermergeFrom(com.google.protobuf.Message other)GraphAlgebra.GroupBy.AggFunc.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GraphAlgebra.GroupBy.AggFunc.BuilderremoveVars(int index)The variables to apply this aggregation TODO(longbin) An expression here is a more general formGraphAlgebra.GroupBy.AggFunc.BuildersetAggregate(GraphAlgebra.GroupBy.AggFunc.Aggregate value)The aggregate functionGraphAlgebra.GroupBy.AggFunc.BuildersetAggregateValue(int value)The aggregate functionGraphAlgebra.GroupBy.AggFunc.BuildersetAlias(Common.NameOrId value)The alias for the aggregated valueGraphAlgebra.GroupBy.AggFunc.BuildersetAlias(Common.NameOrId.Builder builderForValue)The alias for the aggregated valueGraphAlgebra.GroupBy.AggFunc.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)GraphAlgebra.GroupBy.AggFunc.BuildersetVars(int index, OuterExpression.Variable value)The variables to apply this aggregation TODO(longbin) An expression here is a more general formGraphAlgebra.GroupBy.AggFunc.BuildersetVars(int index, OuterExpression.Variable.Builder builderForValue)The variables to apply this aggregation TODO(longbin) An expression here is a more general form-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>
-
clear
public GraphAlgebra.GroupBy.AggFunc.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>
-
getDefaultInstanceForType
public GraphAlgebra.GroupBy.AggFunc getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public GraphAlgebra.GroupBy.AggFunc build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public GraphAlgebra.GroupBy.AggFunc buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
mergeFrom
public GraphAlgebra.GroupBy.AggFunc.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>
-
mergeFrom
public GraphAlgebra.GroupBy.AggFunc.Builder mergeFrom(GraphAlgebra.GroupBy.AggFunc other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>
-
mergeFrom
public GraphAlgebra.GroupBy.AggFunc.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>- 抛出:
IOException
-
getVarsList
public List<OuterExpression.Variable> getVarsList()
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
getVarsCount
public int getVarsCount()
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
getVars
public OuterExpression.Variable getVars(int index)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;- 指定者:
getVars在接口中GraphAlgebra.GroupBy.AggFuncOrBuilder
-
setVars
public GraphAlgebra.GroupBy.AggFunc.Builder setVars(int index, OuterExpression.Variable value)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
setVars
public GraphAlgebra.GroupBy.AggFunc.Builder setVars(int index, OuterExpression.Variable.Builder builderForValue)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
addVars
public GraphAlgebra.GroupBy.AggFunc.Builder addVars(OuterExpression.Variable value)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
addVars
public GraphAlgebra.GroupBy.AggFunc.Builder addVars(int index, OuterExpression.Variable value)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
addVars
public GraphAlgebra.GroupBy.AggFunc.Builder addVars(OuterExpression.Variable.Builder builderForValue)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
addVars
public GraphAlgebra.GroupBy.AggFunc.Builder addVars(int index, OuterExpression.Variable.Builder builderForValue)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
addAllVars
public GraphAlgebra.GroupBy.AggFunc.Builder addAllVars(Iterable<? extends OuterExpression.Variable> values)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
clearVars
public GraphAlgebra.GroupBy.AggFunc.Builder clearVars()
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
removeVars
public GraphAlgebra.GroupBy.AggFunc.Builder removeVars(int index)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
getVarsBuilder
public OuterExpression.Variable.Builder getVarsBuilder(int index)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
getVarsOrBuilder
public OuterExpression.VariableOrBuilder getVarsOrBuilder(int index)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
getVarsOrBuilderList
public List<? extends OuterExpression.VariableOrBuilder> getVarsOrBuilderList()
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
addVarsBuilder
public OuterExpression.Variable.Builder addVarsBuilder()
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
addVarsBuilder
public OuterExpression.Variable.Builder addVarsBuilder(int index)
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
getVarsBuilderList
public List<OuterExpression.Variable.Builder> getVarsBuilderList()
The variables to apply this aggregation TODO(longbin) An expression here is a more general form
repeated .common.Variable vars = 1;
-
getAggregateValue
public int getAggregateValue()
The aggregate function
.algebra.GroupBy.AggFunc.Aggregate aggregate = 2;- 指定者:
getAggregateValue在接口中GraphAlgebra.GroupBy.AggFuncOrBuilder- 返回:
- The enum numeric value on the wire for aggregate.
-
setAggregateValue
public GraphAlgebra.GroupBy.AggFunc.Builder setAggregateValue(int value)
The aggregate function
.algebra.GroupBy.AggFunc.Aggregate aggregate = 2;- 参数:
value- The enum numeric value on the wire for aggregate to set.- 返回:
- This builder for chaining.
-
getAggregate
public GraphAlgebra.GroupBy.AggFunc.Aggregate getAggregate()
The aggregate function
.algebra.GroupBy.AggFunc.Aggregate aggregate = 2;- 指定者:
getAggregate在接口中GraphAlgebra.GroupBy.AggFuncOrBuilder- 返回:
- The aggregate.
-
setAggregate
public GraphAlgebra.GroupBy.AggFunc.Builder setAggregate(GraphAlgebra.GroupBy.AggFunc.Aggregate value)
The aggregate function
.algebra.GroupBy.AggFunc.Aggregate aggregate = 2;- 参数:
value- The aggregate to set.- 返回:
- This builder for chaining.
-
clearAggregate
public GraphAlgebra.GroupBy.AggFunc.Builder clearAggregate()
The aggregate function
.algebra.GroupBy.AggFunc.Aggregate aggregate = 2;- 返回:
- This builder for chaining.
-
hasAlias
public boolean hasAlias()
The alias for the aggregated value
.common.NameOrId alias = 3;- 指定者:
hasAlias在接口中GraphAlgebra.GroupBy.AggFuncOrBuilder- 返回:
- Whether the alias field is set.
-
getAlias
public Common.NameOrId getAlias()
The alias for the aggregated value
.common.NameOrId alias = 3;- 指定者:
getAlias在接口中GraphAlgebra.GroupBy.AggFuncOrBuilder- 返回:
- The alias.
-
setAlias
public GraphAlgebra.GroupBy.AggFunc.Builder setAlias(Common.NameOrId value)
The alias for the aggregated value
.common.NameOrId alias = 3;
-
setAlias
public GraphAlgebra.GroupBy.AggFunc.Builder setAlias(Common.NameOrId.Builder builderForValue)
The alias for the aggregated value
.common.NameOrId alias = 3;
-
mergeAlias
public GraphAlgebra.GroupBy.AggFunc.Builder mergeAlias(Common.NameOrId value)
The alias for the aggregated value
.common.NameOrId alias = 3;
-
clearAlias
public GraphAlgebra.GroupBy.AggFunc.Builder clearAlias()
The alias for the aggregated value
.common.NameOrId alias = 3;
-
getAliasBuilder
public Common.NameOrId.Builder getAliasBuilder()
The alias for the aggregated value
.common.NameOrId alias = 3;
-
getAliasOrBuilder
public Common.NameOrIdOrBuilder getAliasOrBuilder()
The alias for the aggregated value
.common.NameOrId alias = 3;
-
setUnknownFields
public final GraphAlgebra.GroupBy.AggFunc.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>
-
mergeUnknownFields
public final GraphAlgebra.GroupBy.AggFunc.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<GraphAlgebra.GroupBy.AggFunc.Builder>
-
-