Package com.yahoo.search.schema
Class SchemaInfo
java.lang.Object
com.yahoo.search.schema.SchemaInfo
Information about all the schemas configured in the application this container is a part of.
Usage:
SchemaInfo.Session session = schemaInfo.newSession(query); // once when starting to process a query
session.get(...) // access information about the schema(s) relevant to the query
This is immutable.- Author:
- bratseth
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
The schema information resolved to be relevant to this session. -
Constructor Summary
ConstructorDescriptionSchemaInfo
(IndexInfoConfig indexInfo, SchemaInfoConfig schemaInfoConfig, com.yahoo.container.QrSearchersConfig qrSearchersConfig) -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaInfo
empty()
boolean
int
hashCode()
newSession
(Query query) schemas()
Returns all schemas configured in this application, indexed by schema name.
-
Constructor Details
-
SchemaInfo
@Inject public SchemaInfo(IndexInfoConfig indexInfo, SchemaInfoConfig schemaInfoConfig, com.yahoo.container.QrSearchersConfig qrSearchersConfig) -
SchemaInfo
-
-
Method Details