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 an unique id ofSupervisor.This API is only used for informational purposes in org.apache.druid.sql.calcite.schema.SystemSchema.SupervisorsTablegetType()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, validateSpecUpdateTo
-
Constructor Details
-
NoopSupervisorSpec
-
NoopSupervisorSpec
-
-
Method Details
-
getId
Description copied from interface:SupervisorSpecReturn an 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:SupervisorSpecThis API is only used for informational purposes in org.apache.druid.sql.calcite.schema.SystemSchema.SupervisorsTable- Specified by:
getSourcein interfaceSupervisorSpec- Returns:
- source like stream or topic name
-
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()
-