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.CXXPointerInfoVersion is a class provide version information of info.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceInfoVersion.Factory
-
Field Summary
Fields Modifier and Type Field Description static InfoVersion.Factoryfactory
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description @com.alibaba.fastffi.FFINameAlias("CheckType") booleancheckType(StdString typeStr)Check specific type in InfoVersionstatic InfoVersioncreate(int version)booleaneq(InfoVersion other)Check if two InfoVersion are equalStdStringtoStdString()describe the InfoVersion like toString, but return StdStringStdVector<StdString>userDefineTypes()get user define typesintversion()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
-
-