public class ContentGroupLimitsConfig
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.lang.String |
contentGroup |
int |
maxHitsPerSlice |
Constructor and Description |
---|
ContentGroupLimitsConfig() |
ContentGroupLimitsConfig(ContentGroupLimitsConfig o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ContentGroupLimitsConfig.
|
static ContentGroupLimitsConfig |
fromString(java.lang.String s)
String representation of this ContentGroupLimitsConfig.
|
java.lang.String |
getContentGroup()
Name of the content group.
|
int |
getMaxHitsPerSlice()
On each slice, when this number of hits matching the query have been found, the query is interrupted.
|
ContentGroupLimitsConfig |
makeCopy()
Creates and returns a deep copy of this ContentGroupLimitsConfig.
|
static ContentGroupLimitsConfig |
readFrom(java.io.InputStream is)
Read this ContentGroupLimitsConfig from an XML fragment.
|
void |
setContentGroup(java.lang.String contentGroup)
Name of the content group.
|
void |
setMaxHitsPerSlice(int maxHitsPerSlice)
On each slice, when this number of hits matching the query have been found, the query is interrupted.
|
java.lang.String |
toString()
String representation of this ContentGroupLimitsConfig.
|
ContentGroupLimitsConfig |
withContentGroup(java.lang.String contentGroup) |
ContentGroupLimitsConfig |
withMaxHitsPerSlice(int maxHitsPerSlice) |
ContentGroupLimitsConfig |
withMaxHitsPerSlice(java.lang.Integer maxHitsPerSlice) |
void |
writeTo(java.io.OutputStream os)
Write this ContentGroupLimitsConfig as an XML fragment
|
public java.lang.String contentGroup
public int maxHitsPerSlice
public ContentGroupLimitsConfig()
public ContentGroupLimitsConfig(ContentGroupLimitsConfig o)
public void setContentGroup(java.lang.String contentGroup)
public java.lang.String getContentGroup()
public ContentGroupLimitsConfig withContentGroup(java.lang.String contentGroup)
public void setMaxHitsPerSlice(int maxHitsPerSlice)
public int getMaxHitsPerSlice()
public ContentGroupLimitsConfig withMaxHitsPerSlice(int maxHitsPerSlice)
public ContentGroupLimitsConfig withMaxHitsPerSlice(java.lang.Integer maxHitsPerSlice)
public ContentGroupLimitsConfig makeCopy()
public static ContentGroupLimitsConfig readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static ContentGroupLimitsConfig fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2013 Dassault Systèmes, All Rights Reserved.