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