Class NoopSupervisorSpec
java.lang.Object
org.apache.druid.indexing.overlord.supervisor.NoopSupervisorSpec
- All Implemented Interfaces:
SupervisorSpec
Used as a tombstone marker in the supervisors metadata table to indicate that the supervisor has been removed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate a newSupervisorinstance.booleangetId()Return a unique id ofSupervisor.Return source (like stream or topic name) for the supervisor This API is currently used for spec validation inorg.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisorSpecand for returning the spec with source inorg.apache.druid.indexing.overlord.supervisor.SupervisorResourcewhen the spec is requested with system flag.getType()This API is only used for informational purposes in org.apache.druid.sql.calcite.schema.SystemSchema.SupervisorsTableinthashCode()booleanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.indexing.overlord.supervisor.SupervisorSpec
createAutoscaler, merge, validateSpec, validateSpecUpdateTo
-
Constructor Details
-
NoopSupervisorSpec
-
NoopSupervisorSpec
-
-
Method Details
-
getId
Description copied from interface:SupervisorSpecReturn a unique id ofSupervisor.- Specified by:
getIdin interfaceSupervisorSpec
-
getDataSources
- Specified by:
getDataSourcesin interfaceSupervisorSpec
-
isSuspended
public boolean isSuspended()- Specified by:
isSuspendedin interfaceSupervisorSpec
-
getType
Description copied from interface:SupervisorSpecThis API is only used for informational purposes in org.apache.druid.sql.calcite.schema.SystemSchema.SupervisorsTable- Specified by:
getTypein interfaceSupervisorSpec- Returns:
- supervisor type
-
getInputSourceResources
- Specified by:
getInputSourceResourcesin interfaceSupervisorSpec- Returns:
- The types of
InputSourcethat the task uses. Empty set is returned if the task does not use any. Users can be given permission to access particular types of input sources but not others, using theAuthConfig.enableInputSourceSecurityconfig.
-
getSource
Description copied from interface:SupervisorSpecReturn source (like stream or topic name) for the supervisor This API is currently used for spec validation inorg.apache.druid.indexing.seekablestream.supervisor.SeekableStreamSupervisorSpecand for returning the spec with source inorg.apache.druid.indexing.overlord.supervisor.SupervisorResourcewhen the spec is requested with system flag.- Specified by:
getSourcein interfaceSupervisorSpec- Returns:
- source
-
createSupervisor
Description copied from interface:SupervisorSpecCreate a newSupervisorinstance.- Specified by:
createSupervisorin interfaceSupervisorSpec
-
createRunningSpec
- Specified by:
createRunningSpecin interfaceSupervisorSpec
-
createSuspendedSpec
- Specified by:
createSuspendedSpecin interfaceSupervisorSpec
-
equals
-
hashCode
public int hashCode()
-