246.6. OData Resource Type Mapping
읽기 끝점 및 데이터 유형의 데이터 유형은 쿼리, 생성 또는 수정되는 OData 리소스에 따라 달라집니다.
| OData 리소스 유형 | resourcePath 및 keyPredicate의 리소스 URI | in 또는 Out Body Type |
|---|---|---|
| 엔터티 데이터 모델 | $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 |
| 수량 | <resource-uri>/$count | java.lang.Long |