当前位置: 首页>>代码示例>>C++>>正文


C++ QualifiedName::getQualifiedNameAsAnsiString方法代码示例

本文整理汇总了C++中QualifiedName::getQualifiedNameAsAnsiString方法的典型用法代码示例。如果您正苦于以下问题:C++ QualifiedName::getQualifiedNameAsAnsiString方法的具体用法?C++ QualifiedName::getQualifiedNameAsAnsiString怎么用?C++ QualifiedName::getQualifiedNameAsAnsiString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在QualifiedName的用法示例。

在下文中一共展示了QualifiedName::getQualifiedNameAsAnsiString方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: isHBaseUmdHistograms

NABoolean isHBaseUmdHistograms(const QualifiedName& qualifiedName)
{
   return (
             HSGlobalsClass::isHBaseUMDHistogram(
                   qualifiedName.getQualifiedNameAsAnsiString()
                                                 ) &&
             HSGlobalsClass::isTrafodionCatalog(qualifiedName.getCatalogName())
           );
}
开发者ID:,项目名称:,代码行数:9,代码来源:


示例2: fixName

//////////////////////////////////////////////////////////////////////////////
// Given a table qualified name, returns the table's name as an Ansi string
NAString MVJoinGraph::fixName(const QualifiedName& tableName) const
{
  // If the name already has double-quotes mark, that means it is already
  // in an Ansi format. if we return it ...AsAnsiString, another set of
  // double-quotes will be added, and we don't want to do that.
  if(tableName.getObjectName().contains('"'))
  {
    return tableName.getQualifiedNameAsString();
  }
  return tableName.getQualifiedNameAsAnsiString();
}
开发者ID:RuoYuHP,项目名称:incubator-trafodion,代码行数:13,代码来源:MVJoinGraph.cpp


示例3: insert

CharInfo::Collation CollationDB::insert(QualifiedName &qn,
					const SchemaName *defaultSchema,
					CollationInfo::CollationFlags flags)
{
  Int32 defaultMatchCount = 0;
  if (defaultSchema)
    defaultMatchCount = qn.applyDefaults(*defaultSchema);

  CMPASSERT(!qn.getCatalogName().isNull()); // fully qualified w/ all defaults

  size_t siz[CollationInfo::SIZEARRAY_SIZE];
  NAString nam(qn.getQualifiedNameAsAnsiString(siz));
  CMPASSERT(siz[0] == 3);		    // fully qualified w/ all defaults

  return insert(nam, siz, flags, defaultMatchCount);
}
开发者ID:qwertyioz,项目名称:incubator-trafodion,代码行数:16,代码来源:SchemaDB.cpp


示例4: getPredicateText

// Writes a row-value-constructor consisting of fully qualified column names
// in Ansi (external) format
void RefConstraint::getPredicateText(NAString &text, 
				     const QualifiedName &tblName,
				     const KeyColumns &keyColumns,
				     NAString *corrName) const
{
  NAString tblText = ( (corrName == NULL) ? tblName.getQualifiedNameAsAnsiString() : *corrName);
  int pos= 0;
  text += "(";
  for (CollIndex i = 0; i < keyColumns.entries(); i++)
    {
      if(isHiddenColumn(keyColumns[i]->getColName()) )
        continue;
      if (pos > 0)
      {
        text += ",";
      }
      text += tblText + "." + ToAnsiIdentifier(keyColumns[i]->getColName());
      pos++; //move the pos
    }
  text += ")";
}
开发者ID:AlexPeng19,项目名称:incubator-trafodion,代码行数:23,代码来源:BindRI.cpp



注:本文中的QualifiedName::getQualifiedNameAsAnsiString方法示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。