本文整理汇总了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())
);
}
示例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();
}
示例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);
}
示例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 += ")";
}