Package com.google.refine.grel
Class ControlDescription
java.lang.Object
com.google.refine.grel.ControlDescription
Generated localization support class.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jvnet.localizer.LocalizableKeyfilter_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array..static org.jvnet.localizer.LocalizableKeyfor_non_blank_desc:Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead..static org.jvnet.localizer.LocalizableKeyfor_range_desc:Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array..static org.jvnet.localizer.LocalizableKeyforeach_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array..static org.jvnet.localizer.LocalizableKeyforeach_index_desc:Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array..static org.jvnet.localizer.Localizable_if_desc()Keyif_desc:Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead..static org.jvnet.localizer.LocalizableKeyis_blank_desc:Returns whether o is null or an empty string.static org.jvnet.localizer.LocalizableKeyis_error_desc:Returns whether o is an error.static org.jvnet.localizer.LocalizableKeyis_non_blank_desc:Returns whether o is not null and not an empty string.static org.jvnet.localizer.LocalizableKeyis_not_null_desc:Returns whether o is not null.static org.jvnet.localizer.LocalizableKeyis_null_desc:Returns whether o is null.static org.jvnet.localizer.LocalizableKeyis_numeric_desc:Returns whether o can represent a number.static org.jvnet.localizer.LocalizableKeyis_test_desc:Returns whether o can represent a number.static org.jvnet.localizer.LocalizableKeyisempty_string_desc:Returns whether o is an empty string.static org.jvnet.localizer.LocalizableKeywith_desc:Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result.static StringKeyfilter_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array..static StringKeyfor_non_blank_desc:Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead..static StringKeyfor_range_desc:Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array..static StringKeyforeach_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array..static StringKeyforeach_index_desc:Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array..static Stringif_desc()Keyif_desc:Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead..static StringKeyis_blank_desc:Returns whether o is null or an empty string.static StringKeyis_error_desc:Returns whether o is an error.static StringKeyis_non_blank_desc:Returns whether o is not null and not an empty string.static StringKeyis_not_null_desc:Returns whether o is not null.static StringKeyis_null_desc:Returns whether o is null.static StringKeyis_numeric_desc:Returns whether o can represent a number.static StringKeyis_test_desc:Returns whether o can represent a number.static StringKeyisempty_string_desc:Returns whether o is an empty string.static StringKeywith_desc:Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result.
-
Constructor Details
-
ControlDescription
public ControlDescription()
-
-
Method Details
-
foreach_desc
Keyforeach_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array.
-
_foreach_desc
public static org.jvnet.localizer.Localizable _foreach_desc()Keyforeach_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression e, and pushes the result onto the result array.
-
is_not_null_desc
Keyis_not_null_desc:Returns whether o is not null.- Returns:
Returns whether o is not null
-
_is_not_null_desc
public static org.jvnet.localizer.Localizable _is_not_null_desc()Keyis_not_null_desc:Returns whether o is not null.- Returns:
Returns whether o is not null
-
is_non_blank_desc
Keyis_non_blank_desc:Returns whether o is not null and not an empty string.- Returns:
Returns whether o is not null and not an empty string
-
_is_non_blank_desc
public static org.jvnet.localizer.Localizable _is_non_blank_desc()Keyis_non_blank_desc:Returns whether o is not null and not an empty string.- Returns:
Returns whether o is not null and not an empty string
-
for_non_blank_desc
Keyfor_non_blank_desc:Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead..- Returns:
Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead.
-
_for_non_blank_desc
public static org.jvnet.localizer.Localizable _for_non_blank_desc()Keyfor_non_blank_desc:Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead..- Returns:
Evaluates expression o. If it is non-blank, binds its value to variable name v, evaluates expression eNonBlank and returns the result. Otherwise (if o evaluates to blank), evaluates expression eBlank and returns that result instead.
-
is_test_desc
Keyis_test_desc:Returns whether o can represent a number.- Returns:
Returns whether o can represent a number
-
_is_test_desc
public static org.jvnet.localizer.Localizable _is_test_desc()Keyis_test_desc:Returns whether o can represent a number.- Returns:
Returns whether o can represent a number
-
is_blank_desc
Keyis_blank_desc:Returns whether o is null or an empty string.- Returns:
Returns whether o is null or an empty string
-
_is_blank_desc
public static org.jvnet.localizer.Localizable _is_blank_desc()Keyis_blank_desc:Returns whether o is null or an empty string.- Returns:
Returns whether o is null or an empty string
-
filter_desc
Keyfilter_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array.
-
_filter_desc
public static org.jvnet.localizer.Localizable _filter_desc()Keyfilter_desc:Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its value to variable name v, evaluates expression test which should return a boolean. If the boolean is true, pushes v onto the result array.
-
if_desc
Keyif_desc:Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead..- Returns:
Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead.
-
_if_desc
public static org.jvnet.localizer.Localizable _if_desc()Keyif_desc:Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead..- Returns:
Evaluates expression o. If it is true, evaluates expression eTrue and returns the result. Otherwise, evaluates expression eFalse and returns that result instead.
-
is_error_desc
Keyis_error_desc:Returns whether o is an error.- Returns:
Returns whether o is an error
-
_is_error_desc
public static org.jvnet.localizer.Localizable _is_error_desc()Keyis_error_desc:Returns whether o is an error.- Returns:
Returns whether o is an error
-
is_null_desc
Keyis_null_desc:Returns whether o is null.- Returns:
Returns whether o is null
-
_is_null_desc
public static org.jvnet.localizer.Localizable _is_null_desc()Keyis_null_desc:Returns whether o is null.- Returns:
Returns whether o is null
-
is_numeric_desc
Keyis_numeric_desc:Returns whether o can represent a number.- Returns:
Returns whether o can represent a number
-
_is_numeric_desc
public static org.jvnet.localizer.Localizable _is_numeric_desc()Keyis_numeric_desc:Returns whether o can represent a number.- Returns:
Returns whether o can represent a number
-
with_desc
Keywith_desc:Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result.- Returns:
Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result
-
_with_desc
public static org.jvnet.localizer.Localizable _with_desc()Keywith_desc:Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result.- Returns:
Evaluates expression o and binds its value to variable name v. Then evaluates expression e and returns that result
-
isempty_string_desc
Keyisempty_string_desc:Returns whether o is an empty string.- Returns:
Returns whether o is an empty string
-
_isempty_string_desc
public static org.jvnet.localizer.Localizable _isempty_string_desc()Keyisempty_string_desc:Returns whether o is an empty string.- Returns:
Returns whether o is an empty string
-
for_range_desc
Keyfor_range_desc:Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array..- Returns:
Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array.
-
_for_range_desc
public static org.jvnet.localizer.Localizable _for_range_desc()Keyfor_range_desc:Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array..- Returns:
Iterates over the variable v starting at "from", incrementing by "step" each time while less than "to". At each iteration, evaluates expression e, and pushes the result onto the result array.
-
foreach_index_desc
Keyforeach_index_desc:Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array.
-
_foreach_index_desc
public static org.jvnet.localizer.Localizable _foreach_index_desc()Keyforeach_index_desc:Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array..- Returns:
Evaluates expression a to an array. Then for each array element, binds its index to variable i and its value to variable name v, evaluates expression e, and pushes the result onto the result array.
-