Uses of Class
org.apache.lucene.util.AttributeFactory
-
Packages that use AttributeFactory Package Description org.apache.lucene.analysis org.apache.lucene.analysis.core org.apache.lucene.analysis.standard org.apache.lucene.analysis.util org.apache.lucene.util -
-
Uses of AttributeFactory in org.apache.lucene.analysis
Fields in org.apache.lucene.analysis declared as AttributeFactory Modifier and Type Field Description static AttributeFactoryTokenStream. DEFAULT_TOKEN_ATTRIBUTE_FACTORYDefaultAttributeFactoryinstance that should be used for TokenStreams.Methods in org.apache.lucene.analysis that return AttributeFactory Modifier and Type Method Description protected AttributeFactoryAnalyzer. attributeFactory(String fieldName)protected AttributeFactoryAnalyzerWrapper. attributeFactory(String fieldName)Constructors in org.apache.lucene.analysis with parameters of type AttributeFactory Constructor Description Tokenizer(AttributeFactory factory)Construct a tokenizer with no input, awaiting a call toTokenizer.setReader(java.io.Reader)to provide input.TokenStream(AttributeFactory factory)A TokenStream using the supplied AttributeFactory for creating newAttributeinstances. -
Uses of AttributeFactory in org.apache.lucene.analysis.core
Constructors in org.apache.lucene.analysis.core with parameters of type AttributeFactory Constructor Description KeywordTokenizer(AttributeFactory factory, int bufferSize)LetterTokenizer(AttributeFactory factory)Construct a new LetterTokenizer using a givenAttributeFactory.LetterTokenizer(AttributeFactory factory, int maxTokenLen)Construct a new LetterTokenizer using a givenAttributeFactory.WhitespaceTokenizer(AttributeFactory factory)Construct a new WhitespaceTokenizer using a givenAttributeFactory.WhitespaceTokenizer(AttributeFactory factory, int maxTokenLen)Construct a new WhitespaceTokenizer using a givenAttributeFactory. -
Uses of AttributeFactory in org.apache.lucene.analysis.standard
Constructors in org.apache.lucene.analysis.standard with parameters of type AttributeFactory Constructor Description ClassicTokenizer(AttributeFactory factory)Creates a new ClassicTokenizer with a givenAttributeFactoryStandardTokenizer(AttributeFactory factory)Creates a new StandardTokenizer with a givenAttributeFactory -
Uses of AttributeFactory in org.apache.lucene.analysis.util
Methods in org.apache.lucene.analysis.util with parameters of type AttributeFactory Modifier and Type Method Description abstract TokenizerTokenizerFactory. create(AttributeFactory factory)Creates a TokenStream of the specified input using the given AttributeFactorystatic CharTokenizerCharTokenizer. fromSeparatorCharPredicate(AttributeFactory factory, IntPredicate separatorCharPredicate)Creates a new instance of CharTokenizer with the supplied attribute factory using a custom predicate, supplied as method reference or lambda expression.static CharTokenizerCharTokenizer. fromTokenCharPredicate(AttributeFactory factory, IntPredicate tokenCharPredicate)Creates a new instance of CharTokenizer with the supplied attribute factory using a custom predicate, supplied as method reference or lambda expression.Constructors in org.apache.lucene.analysis.util with parameters of type AttributeFactory Constructor Description CharTokenizer(AttributeFactory factory)Creates a newCharTokenizerinstanceCharTokenizer(AttributeFactory factory, int maxTokenLen)Creates a newCharTokenizerinstance -
Uses of AttributeFactory in org.apache.lucene.util
Subclasses of AttributeFactory in org.apache.lucene.util Modifier and Type Class Description static classAttributeFactory.StaticImplementationAttributeFactory<A extends AttributeImpl>Expert: AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Fields in org.apache.lucene.util declared as AttributeFactory Modifier and Type Field Description static AttributeFactoryAttributeFactory. DEFAULT_ATTRIBUTE_FACTORYThis is the default factory that createsAttributeImpls using the class name of the suppliedAttributeinterface class by appendingImplto it.Methods in org.apache.lucene.util that return AttributeFactory Modifier and Type Method Description AttributeFactoryAttributeSource. getAttributeFactory()returns the used AttributeFactory.static <A extends AttributeImpl>
AttributeFactoryAttributeFactory. getStaticImplementation(AttributeFactory delegate, Class<A> clazz)Returns an AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Methods in org.apache.lucene.util with parameters of type AttributeFactory Modifier and Type Method Description static <A extends AttributeImpl>
AttributeFactoryAttributeFactory. getStaticImplementation(AttributeFactory delegate, Class<A> clazz)Returns an AttributeFactory returning an instance of the givenclazzfor the attributes it implements.Constructors in org.apache.lucene.util with parameters of type AttributeFactory Constructor Description AttributeSource(AttributeFactory factory)An AttributeSource using the suppliedAttributeFactoryfor creating newAttributeinstances.StaticImplementationAttributeFactory(AttributeFactory delegate, Class<A> clazz)Expert: Creates an AttributeFactory returningclazzas instance for the attributes it implements and for all other attributes calls the given delegate factory.
-