Interface JobMetadataProjection
- All Superinterfaces:
AuditProjection,IdProjection
- All Known Implementing Classes:
JobEntity
Projection of the jobs table which produces only the fields that were present in the pre-3.3.0
JobMetadata table before it was merged into one large jobs table.
- Since:
- 3.3.0
-
Method Summary
Modifier and TypeMethodDescriptionGet the number of attachments.Get the request api client hostname.Get the user agent.Get the size of standard error for this job.Get the size of standard out for this job.Get the total size of the attachments.Get the unique identifier of this job execution.Methods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.AuditProjection
getCreated, getUpdatedMethods inherited from interface com.netflix.genie.web.data.services.impl.jpa.queries.projections.IdProjection
getId
-
Method Details
-
getUniqueId
String getUniqueId()Get the unique identifier of this job execution.- Returns:
- The unique id
-
getRequestApiClientHostname
Get the request api client hostname.- Returns:
Optionalof the client host
-
getRequestApiClientUserAgent
Get the user agent.- Returns:
- Optional of the user agent
-
getNumAttachments
Get the number of attachments.- Returns:
- The number of attachments as an optional
-
getTotalSizeOfAttachments
Get the total size of the attachments.- Returns:
- The total size of attachments as an optional
-
getStdOutSize
Get the size of standard out for this job.- Returns:
- The size (in bytes) of this jobs standard out file as Optional
-
getStdErrSize
Get the size of standard error for this job.- Returns:
- The size (in bytes) of this jobs standard error file as Optional
-