public enum IngestStatus extends Enum<IngestStatus>
| Enum Constant and Description |
|---|
LOAD_FAILED
If the ingest failed completely
|
LOAD_IN_PROGRESS
When ingest is still in progress
|
LOADED
Success case when the ingest has completed and the file was loaded
|
PARTIALLY_LOADED
If ON_ERROR for pipe field is set and the file was loaded with a few errors
|
| Modifier and Type | Method and Description |
|---|---|
static IngestStatus |
findByStatusId(int statusId)
Search file Status given its id
|
int |
getId()
id of the IngestStatus object
|
String |
getStatusDesc()
description associated to that file Status
|
static IngestStatus |
lookupByName(String name)
Given an enum name, find associated IngestStatus
|
static IngestStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IngestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IngestStatus LOAD_IN_PROGRESS
public static final IngestStatus LOADED
public static final IngestStatus LOAD_FAILED
public static final IngestStatus PARTIALLY_LOADED
public static IngestStatus[] values()
for (IngestStatus c : IngestStatus.values()) System.out.println(c);
public static IngestStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getId()
public String getStatusDesc()
public static IngestStatus findByStatusId(int statusId)
statusId - id of the file Statuspublic static IngestStatus lookupByName(String name) throws Exception
name - Status nameExceptionCopyright © 2018. All rights reserved.