本文整理了Java中org.h2.value.Value.throwUnsupportedExceptionForType()
方法的一些代码示例,展示了Value.throwUnsupportedExceptionForType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Value.throwUnsupportedExceptionForType()
方法的具体详情如下:
包路径:org.h2.value.Value
类名称:Value
方法名:throwUnsupportedExceptionForType
[英]Throw the exception that the feature is not support for the given data type.
[中]抛出该功能不支持给定数据类型的异常。
代码示例来源:origin: com.h2database/h2
/**
* Return -value if this value support arithmetic operations.
*
* @return the negative
*/
public Value negate() {
throw throwUnsupportedExceptionForType("NEG");
}
代码示例来源:origin: com.h2database/h2
/**
* Divide by a value and return the result.
*
* @param v the value to divide by
* @return the result
*/
public Value divide(@SuppressWarnings("unused") Value v) {
throw throwUnsupportedExceptionForType("/");
}
代码示例来源:origin: com.h2database/h2
/**
* Add a value and return the result.
*
* @param v the value to add
* @return the result
*/
public Value add(@SuppressWarnings("unused") Value v) {
throw throwUnsupportedExceptionForType("+");
}
代码示例来源:origin: com.h2database/h2
/**
* Multiply with a value and return the result.
*
* @param v the value to multiply with
* @return the result
*/
public Value multiply(@SuppressWarnings("unused") Value v) {
throw throwUnsupportedExceptionForType("*");
}
代码示例来源:origin: com.h2database/h2
/**
* Subtract a value and return the result.
*
* @param v the value to subtract
* @return the result
*/
public Value subtract(@SuppressWarnings("unused") Value v) {
throw throwUnsupportedExceptionForType("-");
}
代码示例来源:origin: com.h2database/h2
/**
* Take the modulus with a value and return the result.
*
* @param v the value to take the modulus with
* @return the result
*/
public Value modulus(@SuppressWarnings("unused") Value v) {
throw throwUnsupportedExceptionForType("%");
}
代码示例来源:origin: com.h2database/h2
public int getSignum() {
throw throwUnsupportedExceptionForType("SIGNUM");
}
代码示例来源:origin: org.wowtools/h2
/**
* Subtract a value and return the result.
*
* @param v the value to subtract
* @return the result
*/
public Value subtract(Value v) {
throw throwUnsupportedExceptionForType("-");
}
代码示例来源:origin: org.wowtools/h2
/**
* Divide by a value and return the result.
*
* @param v the value to divide by
* @return the result
*/
public Value divide(Value v) {
throw throwUnsupportedExceptionForType("/");
}
代码示例来源:origin: com.eventsourcing/h2
/**
* Add a value and return the result.
*
* @param v the value to add
* @return the result
*/
public Value add(Value v) {
throw throwUnsupportedExceptionForType("+");
}
代码示例来源:origin: com.eventsourcing/h2
/**
* Take the modulus with a value and return the result.
*
* @param v the value to take the modulus with
* @return the result
*/
public Value modulus(Value v) {
throw throwUnsupportedExceptionForType("%");
}
代码示例来源:origin: org.wowtools/h2
/**
* Return -value if this value support arithmetic operations.
*
* @return the negative
*/
public Value negate() {
throw throwUnsupportedExceptionForType("NEG");
}
代码示例来源:origin: org.wowtools/h2
/**
* Multiply with a value and return the result.
*
* @param v the value to multiply with
* @return the result
*/
public Value multiply(Value v) {
throw throwUnsupportedExceptionForType("*");
}
代码示例来源:origin: com.eventsourcing/h2
/**
* Return -value if this value support arithmetic operations.
*
* @return the negative
*/
public Value negate() {
throw throwUnsupportedExceptionForType("NEG");
}
代码示例来源:origin: org.wowtools/h2
/**
* Add a value and return the result.
*
* @param v the value to add
* @return the result
*/
public Value add(Value v) {
throw throwUnsupportedExceptionForType("+");
}
代码示例来源:origin: org.wowtools/h2
/**
* Take the modulus with a value and return the result.
*
* @param v the value to take the modulus with
* @return the result
*/
public Value modulus(Value v) {
throw throwUnsupportedExceptionForType("%");
}
代码示例来源:origin: com.eventsourcing/h2
/**
* Subtract a value and return the result.
*
* @param v the value to subtract
* @return the result
*/
public Value subtract(Value v) {
throw throwUnsupportedExceptionForType("-");
}
代码示例来源:origin: com.eventsourcing/h2
/**
* Divide by a value and return the result.
*
* @param v the value to divide by
* @return the result
*/
public Value divide(Value v) {
throw throwUnsupportedExceptionForType("/");
}
代码示例来源:origin: com.eventsourcing/h2
/**
* Multiply with a value and return the result.
*
* @param v the value to multiply with
* @return the result
*/
public Value multiply(Value v) {
throw throwUnsupportedExceptionForType("*");
}
代码示例来源:origin: org.wowtools/h2
public int getSignum() {
throw throwUnsupportedExceptionForType("SIGNUM");
}
内容来源于网络,如有侵权,请联系作者删除!