Package org.apache.jackrabbit.stats
Class QueryStatDtoImpl
- java.lang.Object
-
- org.apache.jackrabbit.stats.QueryStatDtoImpl
-
- All Implemented Interfaces:
java.io.Serializable
,QueryStatDto
public class QueryStatDtoImpl extends java.lang.Object implements QueryStatDto
Object that holds statistical info about a query.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QueryStatDtoImpl(java.lang.String language, java.lang.String statement, long durationMs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getCreationTime()
long
getDuration()
java.lang.String
getLanguage()
int
getOccurrenceCount()
long
getPosition()
java.lang.String
getStatement()
int
hashCode()
void
setOccurrenceCount(int occurrenceCount)
void
setPosition(long position)
java.lang.String
toString()
-
-
-
Method Detail
-
getDuration
public long getDuration()
- Specified by:
getDuration
in interfaceQueryStatDto
-
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguage
in interfaceQueryStatDto
-
getStatement
public java.lang.String getStatement()
- Specified by:
getStatement
in interfaceQueryStatDto
-
getCreationTime
public java.lang.String getCreationTime()
- Specified by:
getCreationTime
in interfaceQueryStatDto
-
getPosition
public long getPosition()
- Specified by:
getPosition
in interfaceQueryStatDto
-
setPosition
public void setPosition(long position)
- Specified by:
setPosition
in interfaceQueryStatDto
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getOccurrenceCount
public int getOccurrenceCount()
- Specified by:
getOccurrenceCount
in interfaceQueryStatDto
-
setOccurrenceCount
public void setOccurrenceCount(int occurrenceCount)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-