Package org.apache.graphar.util
Interface InfoVersion
-
- All Superinterfaces:
com.alibaba.fastffi.CXXPointer
,com.alibaba.fastffi.FFIPointer
,com.alibaba.fastffi.FFIType
public interface InfoVersion extends com.alibaba.fastffi.CXXPointer
InfoVersion is a class provide version information of info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
InfoVersion.Factory
-
Field Summary
Fields Modifier and Type Field Description static InfoVersion.Factory
factory
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description @com.alibaba.fastffi.FFINameAlias("CheckType") boolean
checkType(StdString typeStr)
Check specific type in InfoVersionstatic InfoVersion
create(int version)
boolean
eq(InfoVersion other)
Check if two InfoVersion are equalStdString
toStdString()
describe the InfoVersion like toString, but return StdStringStdVector<StdString>
userDefineTypes()
get user define typesint
version()
get version integer
-
-
-
Field Detail
-
factory
static final InfoVersion.Factory factory
-
-
Method Detail
-
create
static InfoVersion create(int version)
-
eq
boolean eq(InfoVersion other)
Check if two InfoVersion are equal- Parameters:
other
-- Returns:
- equal ro not
-
version
int version()
get version integer- Returns:
- version integer
-
userDefineTypes
StdVector<StdString> userDefineTypes()
get user define types- Returns:
- StdVector of StdString
-
toStdString
StdString toStdString()
describe the InfoVersion like toString, but return StdString- Returns:
- StdString that describe the InfoVersion
-
checkType
@com.alibaba.fastffi.FFINameAlias("CheckType") boolean checkType(StdString typeStr)
Check specific type in InfoVersion- Parameters:
typeStr
- StdString of type that you want check- Returns:
- whether InfoVersion has this type
-
-