-1
I'am가 하나로, OData query.My HTTP를 requerst를 사용하여 중립 감정 수를 얻으려고 노력 중 하나로, OData 쿼리에서 구현되지회원
<a:feed m:context="$metadata#TweetSentiments" xmlns:a="http://www.w3.org/2005/Atom" xmlns:m="http://docs.oasis-open.org/odata/ns/metadata" xmlns:d="http://docs.oasis-open.org/odata/ns/data">
<a:id>http://10.97.139.11:8004/odata//TwSentiments</a:id>
<a:entry>
<a:title/>
<a:summary/>
<a:updated>2016-11-22T10:34:29Z</a:updated>
<a:author>
<a:name/>
</a:author>
<a:content type="application/xml">
<m:properties>
<d:Time m:type="DateTimeOffset">2016-11-09T08:15:10.885Z</d:Time>
<d:TweetId>796264857880461316</d:TweetId>
<d:TweetText>Nae way did <em>this is test tweet</d:TweetText>
<d:Sentiment>Neutral</d:Sentiment>
<d:SentimentValue m:type="Double">2.0</d:SentimentValue>
</m:properties>
</a:content>
</a:entry>
</a:feed>
에서
http:// service root URI/odata/TweetSentiments$top=1&$filter=Sentiment eq 'Neutral' & $count=true
입니다하지만 같은 오류를 받고 있어요 이
<error xmlns="http://docs.oasis-open.org/odata/ns/metadata">
<code>null</code>
<message>Member Sentiment is not implemented</message>
</error>
나는 odata에서 충분한 경험이 없습니다. 감정의 총 개수를 얻는 다른 방법이 있습니다.
오타 또는 실종 '?' 숯. ../TweetSentiments$top=1& => ../TweetSentiments?$top=1& –