public class DGraphAgentUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
INGEST_STATUS_FAILED |
static java.lang.String |
INGEST_STATUS_IN_PROGRESS |
static java.lang.String |
INGEST_STATUS_SUCCESSFUL |
| Constructor and Description |
|---|
DGraphAgentUtil() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
cancelIngest(javax.portlet.PortletRequest request,
java.util.List<java.lang.String> dataSetNames)
Cancel all ingesting data sets
|
static java.lang.String |
getActiveIngests(javax.portlet.PortletRequest request) |
static java.lang.String |
getActiveIngests(RequestIds requestIds)
get all active ingests name
|
static long |
getIngestStatus(javax.portlet.PortletRequest request,
com.oracle.endeca.pdi.concepts.mdex.MdexCollectionIdentifier dataSetId)
Get the ingest status of data set
|
static long |
getIngestStatus(RequestIds requestIds,
com.oracle.endeca.pdi.concepts.mdex.MdexCollectionIdentifier dataSetId)
Get the ingest status of data set
|
static boolean |
startIngest(javax.portlet.PortletRequest request,
java.lang.String dataSetName,
java.lang.String userName,
java.lang.String location)
Start ingest a data set
|
public static final java.lang.String INGEST_STATUS_IN_PROGRESS
public static final java.lang.String INGEST_STATUS_FAILED
public static final java.lang.String INGEST_STATUS_SUCCESSFUL
public static long getIngestStatus(javax.portlet.PortletRequest request,
com.oracle.endeca.pdi.concepts.mdex.MdexCollectionIdentifier dataSetId)
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
request - the UI request associated with this method calldataSetId - org.apache.commons.httpclient.HttpExceptionjava.io.IOExceptionpublic static long getIngestStatus(RequestIds requestIds, com.oracle.endeca.pdi.concepts.mdex.MdexCollectionIdentifier dataSetId) throws org.apache.commons.httpclient.HttpException, java.io.IOException
requestIds - contains the gesture/page/session context of the UI gesture associated with this method calldataSetId - org.apache.commons.httpclient.HttpExceptionjava.io.IOExceptionpublic static java.lang.String getActiveIngests(RequestIds requestIds) throws org.apache.commons.httpclient.HttpException, java.io.IOException
requestIds - RequestIdsorg.apache.commons.httpclient.HttpExceptionjava.io.IOExceptionpublic static java.lang.String getActiveIngests(javax.portlet.PortletRequest request)
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
org.apache.commons.httpclient.HttpExceptionjava.io.IOExceptionpublic static boolean startIngest(javax.portlet.PortletRequest request,
java.lang.String dataSetName,
java.lang.String userName,
java.lang.String location)
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
request - PortletRequestdataSetName - Collection nameuserName - HDFS file ownerlocation - HDFS directory containing the filesorg.apache.commons.httpclient.HttpExceptionjava.io.IOExceptionpublic static boolean cancelIngest(javax.portlet.PortletRequest request,
java.util.List<java.lang.String> dataSetNames)
throws org.apache.commons.httpclient.HttpException,
java.io.IOException
request - PortletRequestdataSetNames - the ingest of these data set will be canceled.org.apache.commons.httpclient.HttpExceptionjava.io.IOExceptionCopyright 2003, 2014, Oracle and/or its affiliates. All rights reserved.