org.carrot2.source.ambient
Class Odp239DocumentSourceDescriptor.AttributeBuilder

java.lang.Object
  extended by org.carrot2.source.ambient.FubDocumentSourceDescriptor.AttributeBuilder
      extended by org.carrot2.source.ambient.Odp239DocumentSourceDescriptor.AttributeBuilder
Enclosing class:
Odp239DocumentSourceDescriptor

public static class Odp239DocumentSourceDescriptor.AttributeBuilder
extends FubDocumentSourceDescriptor.AttributeBuilder

Attribute map builder for the Odp239DocumentSource component. You can use this builder as a type-safe alternative to populating the attribute map using attribute keys.


Field Summary
 Map<String,Object> map
          The attribute map populated by this builder.
 
Constructor Summary
protected Odp239DocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
          Creates a builder backed by the provided map.
 
Method Summary
 Odp239DocumentSourceDescriptor.AttributeBuilder results(int value)
           
 long resultsTotal()
           
 Odp239DocumentSourceDescriptor.AttributeBuilder topic(Class<? extends Odp239DocumentSource.Odp239Topic> clazz)
          ODP239 Topic.
 Odp239DocumentSourceDescriptor.AttributeBuilder topic(Odp239DocumentSource.Odp239Topic value)
          ODP239 Topic.
 
Methods inherited from class org.carrot2.source.ambient.FubDocumentSourceDescriptor.AttributeBuilder
documents, minTopicSize, query, topicIds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

public final Map<String,Object> map
The attribute map populated by this builder.

Constructor Detail

Odp239DocumentSourceDescriptor.AttributeBuilder

protected Odp239DocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.

Method Detail

topic

public Odp239DocumentSourceDescriptor.AttributeBuilder topic(Odp239DocumentSource.Odp239Topic value)
ODP239 Topic. The ODP239 Topic to load documents from.

See Also:
Odp239DocumentSource.topic

topic

public Odp239DocumentSourceDescriptor.AttributeBuilder topic(Class<? extends Odp239DocumentSource.Odp239Topic> clazz)
ODP239 Topic. The ODP239 Topic to load documents from.

See Also:
Odp239DocumentSource.topic

results

public Odp239DocumentSourceDescriptor.AttributeBuilder results(int value)
See Also:
Odp239DocumentSource.results

resultsTotal

public long resultsTotal()
See Also:
Odp239DocumentSource.resultsTotal


Copyright (c) Dawid Weiss, Stanislaw Osinski