readDataset()このオブジェクトは、DataSet からのデータへの読み取りアクセスを提供します。 List<Row> readDataset(Integer id) | データセットidから行のリストを返します。 | List<Row> readDataset(Integer id, int limit) | データセットidから、値のカウントが制限されている行のリストを返します。 | List<Row> readDataset(Integer id, int limit, Filter filter) | データセットidから、値のカウントがlimitである行のリストを、フィルター で返します。 | List<Row> readDataset(Integer id, int limit, Filter filter, Sort sort) | データセットidから、値のカウントがlimitである行のリストを、 filter,でフィルタリングし、belladatiSortObjectでソートして返します。 e.g. def rows = readDataset(123, 1, filter, com.belladati.common.sort.Sort.descending('row_uid')) | List<Row> readDataset(String datasetCode)
| データセットコードから行のリストを返します。 | List<Row> readDataset(String datasetCode, int limit) | データセットコードから、値のカウントが限界値である行のリストを返します。 | List<Row> readDataset(String datasetCode, int limit, Filter filter) | データセットコードから、値のカウントがlimitとなる行のリストを、 filterでフィルタリングして返します。 | List<Row> readDataset(String datasetCode, int limit, Filter filter, Sort sort) | データセットidcodeから、値のカウントがリミットとなる行のリストを返します。 例)def rows = readDataset(123, 1, filter, com.belladati.common.sort.Sort.descending('row_uid')) | Void readDataset(Integer id, Closure<Object> closure) | readDatasetにClosureを渡すことができます。 readDataset(123, filter) { // defined variables for closure are row, index, columns row.getValues()['L_NAME'] } | Void readDataset(Integer id, int limit, Closure<Object> closure) | readDatasetにClosureを渡すことができます。 readDataset(123, -1) {row.getValues()['L_NAME']} | Void readDataset(Integer id, int limit, Filter filter, Closure<Object> closure) | readDatasetにClosureを渡すことができます。 readDataset(123, -1, filter) {row.getValues()['L_NAME']} | Void readDataset(Integer id, int limit, Filter filter, Sort sort, Closure<Object> closure) | readDatasetにClosureを渡すことができます。 readDataset(123, -1, filter,ascSort('L_ATT')) {row.getValues()['L_NAME']} |
Sort()このオブジェクトは、ソート順を返します。 Sort ascSort(final String column) | カラムに応じた昇順のソートを返します。 | Sort descSort(final String column) | カラムに応じた昇順のソートを返します。 |
Row()この関数は、行から列の値を返します。 String row.getValues()[String column] | getValues関数は、選択された列から行の値を返します。 |
storeDataset()このオブジェクトは、DataSet に対する書き込みと更新のアクセスを提供します。 void storeDataset(Integer datasetId, List<Map<String, Object>> rows) | <columnCode,value>を含むマップのリストをデータセットに格納する datasetId [['L_ID':'A','M_VAL':5],['L_ID':'B','M_VAL':9]] | void storeDataset(String datasetCode, List<Map<String, Object>> rows)
| Stores List of Maps that contains <columnCode,value> into dataset datasetId [['L_ID':'A','M_VAL':5],['L_ID':'B','M_VAL':9]] |
createUser()このオブジェクトは、新しいユーザーを作成する可能性を提供します。このオブジェクトは新しいユーザーを作成する機能を提供します。 Response createUser(JSONObject data) | JSONObject user | から新規ユーザーを作成し、そのidを返す。から新しいユーザーを作成し、そのIDを返します。 |
downloadFile()このオブジェクトは、新しいユーザーを作成する可能性を提供します。このオブジェクトは、新しいユーザーを作成する機能を提供します。 Response downloadFile(Integer id) | id が指定された場合、mediaGalery 指定したIDからmediaGalery からファイルを返します。 | Response downloadFile(Integer id, String desiredFileName) | id が指定された場合、希望する FileName に従って mediaGalery からリネームされたファイルを返します。IDが指定された場合、`desiredFileName`に従ってmediaGalery から名前が変更されたファイルを返します。 |
other functionspublic static Object executeMlProjectWithResult(Integer projectId, Map<String, Object> variables) | EMLプロジェクトを実行し、その値を返すまで待機します。 |
|