Class PushJobSpec
- java.lang.Object
-
- org.apache.pinot.spi.ingestion.batch.spec.PushJobSpec
-
- All Implemented Interfaces:
Serializable
public class PushJobSpec extends Object implements Serializable
PushJobSpec defines segment push job related configuration- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PushJobSpec()
-
Method Summary
Modifier and Type Method Description booleangetCopyToDeepStoreForMetadataPush()intgetPushAttempts()StringgetPushFileNamePattern()intgetPushParallelism()longgetPushRetryIntervalMillis()StringgetSegmentUriPrefix()StringgetSegmentUriSuffix()voidsetCopyToDeepStoreForMetadataPush(boolean copyToDeepStoreForMetadataPush)voidsetPushAttempts(int pushAttempts)number of attempts for push job, default is 1, which means no retry.voidsetPushFileNamePattern(String pushFileNamePattern)voidsetPushParallelism(int pushParallelism)voidsetPushRetryIntervalMillis(long pushRetryIntervalMillis)retry wait Ms, default to 1 second.voidsetSegmentUriPrefix(String segmentUriPrefix)Used in SegmentUriPushJobRunner, which is used to composite the segment uri to send to pinot controller.voidsetSegmentUriSuffix(String segmentUriSuffix)Used in SegmentUriPushJobRunner, which is used to composite the segment uri to send to pinot controller.
-
-
-
Method Detail
-
getPushFileNamePattern
public String getPushFileNamePattern()
-
setPushFileNamePattern
public void setPushFileNamePattern(String pushFileNamePattern)
-
getSegmentUriPrefix
public String getSegmentUriPrefix()
-
setSegmentUriPrefix
public void setSegmentUriPrefix(String segmentUriPrefix)
Used in SegmentUriPushJobRunner, which is used to composite the segment uri to send to pinot controller. The URI sends to controller is in the format ${segmentUriPrefix}${segmentPath}${segmentUriSuffix}- Parameters:
segmentUriPrefix-
-
getSegmentUriSuffix
public String getSegmentUriSuffix()
-
setSegmentUriSuffix
public void setSegmentUriSuffix(String segmentUriSuffix)
Used in SegmentUriPushJobRunner, which is used to composite the segment uri to send to pinot controller. The URI sends to controller is in the format ${segmentUriPrefix}${segmentPath}${segmentUriSuffix}- Parameters:
segmentUriSuffix-
-
getPushAttempts
public int getPushAttempts()
-
setPushAttempts
public void setPushAttempts(int pushAttempts)
number of attempts for push job, default is 1, which means no retry.- Parameters:
pushAttempts-
-
getPushRetryIntervalMillis
public long getPushRetryIntervalMillis()
-
setPushRetryIntervalMillis
public void setPushRetryIntervalMillis(long pushRetryIntervalMillis)
retry wait Ms, default to 1 second.- Parameters:
pushRetryIntervalMillis-
-
getPushParallelism
public int getPushParallelism()
-
setPushParallelism
public void setPushParallelism(int pushParallelism)
-
getCopyToDeepStoreForMetadataPush
public boolean getCopyToDeepStoreForMetadataPush()
-
setCopyToDeepStoreForMetadataPush
public void setCopyToDeepStoreForMetadataPush(boolean copyToDeepStoreForMetadataPush)
-
-