次の方法で共有


TableInput インターフェイス

public interface TableInput

TableInput(name = "items", tableName = "mytablename", partitionKey = "myparkey", connection = "myconnvarname") MyItem[] items ) { return items.length; }

メソッドの概要

修飾子と型 メソッドと説明
String connection()

Azure Storage 接続文字列を含むアプリ設定名を定義します。

String dataType()

Functions ランタイムがパラメーター値をどのように扱うかを定義します。 次のいずれかの値になります。

    <li>
    
      <p>"": get the value as a string, and try to deserialize to actual parameter type like POJO </p>
    
    </li>
    
    <li>
    
      <p>string: always get the value as a string </p>
    
    </li>
    
    <li>
    
      <p>binary: get the value as a binary data, and try to deserialize to actual parameter type byte[] </p>
    
    </li>
    

String filter()

バインド先のストレージ テーブルのフィルターを定義します。

String name()

function.json で使用される変数名。

String partitionKey()

バインド先のストレージ テーブルのパーティション キーを定義します。

String rowKey()

バインド先のストレージ テーブルの行キーを定義します。

String tableName()

バインド先のストレージ テーブルの名前を定義します。

String take()

バインド先のストレージ テーブルから取得する行数を定義します。

メソッドの詳細

connection

public String connection() default ""

Azure Storage 接続文字列を含むアプリ設定名を定義します。

Returns:

接続文字列のアプリ設定名。

dataType

public String dataType() default ""

Functions ランタイムがパラメーター値をどのように扱うかを定義します。 次のいずれかの値になります。

    <li>
    
      <p>"": get the value as a string, and try to deserialize to actual parameter type like POJO </p>
    
    </li>
    
    <li>
    
      <p>string: always get the value as a string </p>
    
    </li>
    
    <li>
    
      <p>binary: get the value as a binary data, and try to deserialize to actual parameter type byte[] </p>
    
    </li>
    

Returns:

Functions ランタイムによって使用される dataType。

filter

public String filter() default ""

バインド先のストレージ テーブルのフィルターを定義します。

Returns:

ストレージ テーブルのフィルター文字列。

name

public String name()

function.json で使用される変数名。

Returns:

function.json で使用される変数名。

partitionKey

public String partitionKey() default ""

バインド先のストレージ テーブルのパーティション キーを定義します。

Returns:

ストレージ テーブルのパーティション キー文字列。

rowKey

public String rowKey() default ""

バインド先のストレージ テーブルの行キーを定義します。

Returns:

ストレージ テーブルの行キー文字列。

tableName

public String tableName()

バインド先のストレージ テーブルの名前を定義します。

Returns:

ストレージ テーブル名の文字列。

take

public String take() default ""

バインド先のストレージ テーブルから取得する行数を定義します。

Returns:

行番号文字列を取得するストレージ テーブル。

適用対象