protected class MockContentStoreClient.MemoryContentPointer extends Object implements ContentPointer
| Constructor and Description |
|---|
MemoryContentPointer(String namespace,
String id,
byte[] bytes) |
| Modifier and Type | Method and Description |
|---|---|
String |
getExternalUri()
Get an externally accessible Uri for the data.
|
String |
getId()
Get the unique id for the content.
|
long |
getLastModified()
Get the last modified time for the resource for this pointer.
|
long |
getSize()
Returns the size of the content pointer's content in bytes or -1 if unknown.
|
String |
getStoreName()
Get the name of the store this pointer can be retrieved in.
|
InputStream |
getStream()
Get as an InputStream for reading.
|
public InputStream getStream()
ContentPointergetStream in interface ContentPointerpublic long getSize()
ContentPointergetSize in interface ContentPointerpublic String getId()
getId in interface ContentPointerpublic String getStoreName()
getStoreName in interface ContentPointerpublic String getExternalUri()
getExternalUri in interface ContentPointerpublic long getLastModified()
getLastModified in interface ContentPointerCopyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.