TableJoinSublayerSource constructor
- required String leftFieldName,
- required SublayerSource leftSublayerSource,
- required String rightFieldName,
- required SublayerSource rightSublayerSource,
- required JoinType joinType,
Creates a table join sublayer source.
Parameters:
leftFieldName
— The left field name.leftSublayerSource
— The left sublayer source.rightFieldName
— The right field name.rightSublayerSource
— The right sublayer source.joinType
— The join type.
Implementation
factory TableJoinSublayerSource({
required String leftFieldName,
required SublayerSource leftSublayerSource,
required String rightFieldName,
required SublayerSource rightSublayerSource,
required JoinType joinType,
}) {
_initializeArcGISEnvironmentIfNeeded();
final coreLeftFieldName = _CString(leftFieldName);
final coreRightFieldName = _CString(rightFieldName);
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_TableJoinSublayerSource_createWithJoin(
coreLeftFieldName.bytes,
leftSublayerSource._handle,
coreRightFieldName.bytes,
rightSublayerSource._handle,
joinType.coreValue,
errorHandler,
);
});
final TableJoinSublayerSource object =
TableJoinSublayerSource._withHandle(handle);
object._leftSublayerSource.cache(leftSublayerSource);
object._rightSublayerSource.cache(rightSublayerSource);
return object;
}