233.5. OData リソースタイプマッピング
読み取り エンドポイントとデータ型は、クエリーされる OData リソースや作成、または変更されるものによって異なります。
OData リソースタイプ | resourcePath および keyPredicate からのリソース URI | In または Out ボディーのタイプ |
---|---|---|
エンティティーデータモデル | $metadata | org.apache.olingo.commons.api.edm.Edm |
サービスドキュメント | / | org.apache.olingo.client.api.domain.ClientServiceDocument |
OData エンティティーセット | <entity-set> | org.apache.olingo.client.api.domain.ClientEntitySet |
OData エンティティー | <entity-set>(<key-predicate>) | org.apache.olingo.client.api.domain.ClientEntity for Out body(response)java.util.Map<String, Object> for In body(request) |
簡単なプロパティー | <entity-set>(<key-predicate>)/<simple-property> | org.apache.olingo.client.api.domain.ClientPrimitiveValue |
シンプルなプロパティーの値 | <entity-set>(<key-predicate>)/<simple-property>/$value | org.apache.olingo.client.api.domain.ClientPrimitiveValue |
複雑なプロパティー | <entity-set>(<key-predicate>)/<complex-property> | org.apache.olingo.client.api.domain.ClientComplexValue |
Count | <resource-uri>/$count | java.lang.Long |