org.xcmis.search.content
Class InMemoryColumn

java.lang.Object
  extended by org.xcmis.search.content.InMemoryColumn
All Implemented Interfaces:
Schema.Column

public class InMemoryColumn
extends Object
implements Schema.Column

In memory column definition.


Field Summary
static boolean DEFAULT_FULL_TEXT_SEARCHABLE
           
 
Constructor Summary
InMemoryColumn(String name, PropertyType type)
           
InMemoryColumn(String name, PropertyType type, boolean fullTextSearchable, org.xcmis.search.model.constraint.Operator[] availableQueryOperators)
           
 
Method Summary
 org.xcmis.search.model.constraint.Operator[] getAvailableQueryOperators()
          Available query operators for the given column.
 String getName()
          Get the name for this column.
 PropertyType getPropertyType()
          Get the property type for this column.
 boolean isFullTextSearchable()
          Get whether the column can be used in a full-text search.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_FULL_TEXT_SEARCHABLE

public static final boolean DEFAULT_FULL_TEXT_SEARCHABLE
See Also:
Constant Field Values
Constructor Detail

InMemoryColumn

public InMemoryColumn(String name,
                      PropertyType type)

InMemoryColumn

public InMemoryColumn(String name,
                      PropertyType type,
                      boolean fullTextSearchable,
                      org.xcmis.search.model.constraint.Operator[] availableQueryOperators)
Method Detail

getName

public String getName()
Description copied from interface: Schema.Column
Get the name for this column.

Specified by:
getName in interface Schema.Column
Returns:
the column name; never null
See Also:
Schema.Column.getName()

getPropertyType

public PropertyType getPropertyType()
Description copied from interface: Schema.Column
Get the property type for this column.

Specified by:
getPropertyType in interface Schema.Column
Returns:
the property type; never null
See Also:
Schema.Column.getPropertyType()

isFullTextSearchable

public boolean isFullTextSearchable()
Description copied from interface: Schema.Column
Get whether the column can be used in a full-text search.

Specified by:
isFullTextSearchable in interface Schema.Column
Returns:
true if the column is full-text searchable, or false otherwise
See Also:
Schema.Column.isFullTextSearchable()

toString

public String toString()

Overrides:
toString in class Object
See Also:
Object.toString()

getAvailableQueryOperators

public org.xcmis.search.model.constraint.Operator[] getAvailableQueryOperators()
Description copied from interface: Schema.Column
Available query operators for the given column.

Specified by:
getAvailableQueryOperators in interface Schema.Column
Returns:
array of query operators
See Also:
Schema.Column.getAvailableQueryOperators()


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.