你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Cardinality Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.functions.annotation.Cardinality

public enum Cardinality
extends java.lang.Enum<Cardinality>

Cardinality of the EventHubTrigger input. Choose 'ONE' if the input is a single message or 'Many' if the input is an array of messages. 'Many' is the default if unspecified

Fields

MANY

To receive events in a batch, set cardinality to MANY.

ONE

To receive a single message, set cardinality to ONE

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Methods

valueOf(String name)

public static Cardinality valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static Cardinality[] values()

Returns

Applies to