Enum Class CourtFixtureSource.Stage
java.lang.Object
java.lang.Enum<CourtFixtureSource.Stage>
ai.pipestream.module.pipelineprobe.opensearch.CourtFixtureSource.Stage
- All Implemented Interfaces:
Serializable, Comparable<CourtFixtureSource.Stage>, Constable
- Enclosing class:
CourtFixtureSource
Stage selector for the court-1000 corpus.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiondirName()Returns the classpath subdirectory name for this stage's fixtures.static CourtFixtureSource.StageParse a stage name from a request body / query string.static CourtFixtureSource.StageReturns the enum constant of this class with the specified name.static CourtFixtureSource.Stage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHUNKER
Post-chunker, no embedding vectors. Indexes text + chunks only. -
EMBEDDER
Post-embedder, vectors attached. Exercises kNN field writes.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
parse
Parse a stage name from a request body / query string. Accepts the enum name and the lowercase directory form, both case-insensitively — so"embedder","EMBEDDER", and"Embedder"all resolve toEMBEDDER.- Parameters:
raw- user-supplied stage name;nullor blank →EMBEDDER- Returns:
- the parsed stage
- Throws:
IllegalArgumentException- for any other unrecognised value
-
dirName
Returns the classpath subdirectory name for this stage's fixtures.- Returns:
- classpath directory holding doc_*.pb for this stage
-