247.6. OData 리소스 유형 매핑
데이터 옵션의 읽기 끝점 및 데이터 유형의 결과는 쿼리, 생성 또는 수정되는 OData 리소스에 따라 달라집니다.
| OData 리소스 유형 | resourcePath 및 keyPredicate의 리소스 URI | 본문 유형 또는 외부 유형 |
|---|---|---|
| 엔터티 데이터 모델 | $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> 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 |
| 수량 | <resource-uri>/$count | java.lang.Long |