com.thomsonreuters.upa.codec.Vector.containerType()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(4.5k)|赞(0)|评价(0)|浏览(221)

本文整理了Java中com.thomsonreuters.upa.codec.Vector.containerType()方法的一些代码示例,展示了Vector.containerType()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Vector.containerType()方法的具体详情如下:
包路径:com.thomsonreuters.upa.codec.Vector
类名称:Vector
方法名:containerType

Vector.containerType介绍

[英]A DataTypes enumeration value that describes the container type of each VectorEntry's payload.
[中]DataTypes枚举值,用于描述每个VectorEntry有效负载的容器类型。

代码示例

代码示例来源:origin: Refinitiv/Elektron-SDK

xmlString.append(xmlDumpDataType(vec.containerType()));
xmlString.append("\">\n");

代码示例来源:origin: Refinitiv/Elektron-SDK

if (fidVectorValue.containerType() == DataTypes.FIELD_LIST)
switch (fidVectorValue.containerType())
    System.out.println("Error: Vector contained unhandled containerType " + fidVectorValue.containerType());
    break;

代码示例来源:origin: Refinitiv/Elektron-SDK

if (fidVectorValue.containerType() == DataTypes.FIELD_LIST)
switch (fidVectorValue.containerType())
    System.out.println("Error: Vector contained unhandled containerType " + fidVectorValue.containerType());
    break;

代码示例来源:origin: Refinitiv/Elektron-SDK

if (fidVectorValue.containerType() == DataTypes.FIELD_LIST)
switch (fidVectorValue.containerType())
    System.out.println("Error: Vector contained unhandled containerType " + fidVectorValue.containerType());
    break;

代码示例来源:origin: Refinitiv/Elektron-SDK

_rsslVector.containerType(entryType);
  _rsslVector.containerType(entryType);
  _rsslVector.containerType(Utilities.toRsslDataType(firstEntry.loadType()));

代码示例来源:origin: Refinitiv/Elektron-SDK

if (vec.containerType() == DataTypes.FIELD_LIST)
xmlString.append(decodeSummaryData(iterCopy, vec.containerType(), vec.encodedSummaryData(),
                  iterCopy.majorVersion(), iterCopy.minorVersion(), dictionary, setDb));
xmlString.append(decodeDataTypeToXML(vec.containerType(), vectorEntry.encodedData(), dictionary, setDb, iterCopy));
xmlString.append(xmlDumpVectorEntryEnd());

代码示例来源:origin: Refinitiv/Elektron-SDK

vector.containerType(DataTypes.ELEMENT_LIST);

代码示例来源:origin: Refinitiv/Elektron-SDK

&& (vector.containerType() != DataTypes.NO_DATA))

代码示例来源:origin: Refinitiv/Elektron-SDK

switch (_rsslVector.containerType())
  _rsslLocalSetDefDb = null;
int rsslContainerType = _rsslVector.checkHasSummaryData() ? _rsslVector.containerType() : com.thomsonreuters.upa.codec.DataTypes.NO_DATA;
int dType = dataType(rsslContainerType, _rsslMajVer, _rsslMinVer, _rsslVector.encodedSummaryData());
_summaryDecoded = dataInstance(_summaryDecoded, dType);

代码示例来源:origin: Refinitiv/Elektron-SDK

assertEquals(false, vector.checkHasSummaryData());
assertEquals(false, vector.checkHasTotalCountHint());
assertEquals(DataTypes.FIELD_LIST, vector.containerType());
assertEquals(false, vector.checkHasSummaryData());
assertEquals(true, vector.checkHasTotalCountHint());
assertEquals(DataTypes.FIELD_LIST, vector.containerType());
assertEquals(1073741823, vector.totalCountHint());

代码示例来源:origin: Refinitiv/Elektron-SDK

_rsslVector.containerType() : com.thomsonreuters.upa.codec.DataTypes.NO_DATA;
int dType = dataType(rsslContainerType, _rsslMajVer, _rsslMinVer, vectorEntry._rsslVectorEntry.encodedData());
load = dataInstance(vectorEntry._load, dType);

代码示例来源:origin: Refinitiv/Elektron-SDK

&& (vector.containerType() != DataTypes.NO_DATA))

代码示例来源:origin: Refinitiv/Elektron-SDK

&& (vector.containerType() != DataTypes.NO_DATA))

代码示例来源:origin: Refinitiv/Elektron-SDK

vector.totalCountHint(5);
((VectorImpl)vector).encodedEntries(txt);
vector.containerType(DataTypes.FIELD_LIST);
vector.containerType(DataTypes.FIELD_LIST);

代码示例来源:origin: Refinitiv/Elektron-SDK

vector.encodedSetDefs(txt);
vector.encodedSummaryData(txt);
vector.containerType(DataTypes.FIELD_LIST);

代码示例来源:origin: Refinitiv/Elektron-SDK

vector.encodedSetDefs(txt);
vector.encodedSummaryData(txt);
vector.containerType(DataTypes.FIELD_LIST);                
vectorEntry.applyHasPermData();
vectorEntry.action(VectorEntryActions.SET);

代码示例来源:origin: Refinitiv/Elektron-SDK

if (vector.containerType() != DataTypes.ELEMENT_LIST)

代码示例来源:origin: Refinitiv/Elektron-SDK

assertEquals(true, vector.checkHasTotalCountHint());
assertEquals(true, vector.checkSupportsSorting());
assertEquals(DataTypes.FIELD_LIST, vector.containerType());
assertEquals(2, vector.totalCountHint());
assertEquals("000000001111111122222222", vector.encodedSetDefs().toString());

代码示例来源:origin: Refinitiv/Elektron-SDK

vector.encodedSetDefs(txt);
vector.encodedSummaryData(txt);
vector.containerType(DataTypes.FIELD_LIST);                
vectorEntry.applyHasPermData();
vectorEntry.permData(txt);

代码示例来源:origin: Refinitiv/Elektron-SDK

vector.containerType(DataTypes.ELEMENT_LIST);
vector.flags(VectorFlags.HAS_SUMMARY_DATA);

相关文章