public class Stream extends BaseDataSiftResult
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
createdAt |
protected float |
dpu |
protected java.lang.String |
hash |
error, response| Constructor and Description |
|---|
Stream() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
static Stream |
fromString(java.lang.String str)
Create a stream instance containing only a hash
|
java.lang.String |
getCreatedAt() |
float |
getDpu() |
java.lang.String |
hash() |
int |
hashCode() |
boolean |
isSameAs(Stream hash) |
boolean |
isSameAs(java.lang.String hash) |
failed, failureCause, getError, getResponse, isAuthorizationSuccessful, isSuccessful, rateLimit, rateLimitCost, rateLimitRemaining, setResponse, successful, toStringprotected java.lang.String createdAt
protected float dpu
protected java.lang.String hash
public static Stream fromString(java.lang.String str)
str - the hash obtained from DataSift for a streampublic java.lang.String getCreatedAt()
public float getDpu()
public java.lang.String hash()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean isSameAs(java.lang.String hash)
public boolean isSameAs(Stream hash)
Copyright © 2017. All Rights Reserved.