more javadoc

This commit is contained in:
kimchy 2011-05-13 13:56:20 +03:00
parent cf4f2ce6ba
commit b531cf03e4
3 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,10 @@
package org.elasticsearch.script; package org.elasticsearch.script;
/**
* A simpler base class instead of {@link AbstractSearchScript} for computations
* that return a double number.
*/
public abstract class AbstractDoubleSearchScript extends AbstractSearchScript { public abstract class AbstractDoubleSearchScript extends AbstractSearchScript {
@Override public Object run() { @Override public Object run() {

View File

@ -19,6 +19,10 @@
package org.elasticsearch.script; package org.elasticsearch.script;
/**
* A simpler base class instead of {@link AbstractSearchScript} for computations
* that return a float number.
*/
public abstract class AbstractFloatSearchScript extends AbstractSearchScript { public abstract class AbstractFloatSearchScript extends AbstractSearchScript {
@Override public Object run() { @Override public Object run() {

View File

@ -19,6 +19,10 @@
package org.elasticsearch.script; package org.elasticsearch.script;
/**
* A simpler base class instead of {@link AbstractSearchScript} for computations
* that return a long number.
*/
public abstract class AbstractLongSearchScript extends AbstractSearchScript { public abstract class AbstractLongSearchScript extends AbstractSearchScript {
@Override public Object run() { @Override public Object run() {