Re: Understanding the RelMdColumnUniqueness private constructor

2023-08-14 Thread Nick Riasanovsky
Okay sounds good. Thank you Julian! On Mon, Aug 14, 2023 at 1:55 PM Julian Hyde wrote: > I checked a few other RelMdXxx classes, and. they have private > constructors too. Which makes sense, because you don’t extend metadata > providers by subclassing. You just define your own provider and add i

Re: Understanding the RelMdColumnUniqueness private constructor

2023-08-14 Thread Julian Hyde
I checked a few other RelMdXxx classes, and. they have private constructors too. Which makes sense, because you don’t extend metadata providers by subclassing. You just define your own provider and add it to the chain. RelMdColumnUniqueness has public static final RelMetadataProvider SOURCE =

Understanding the RelMdColumnUniqueness private constructor

2023-08-14 Thread Nick Riasanovsky
Hi everyone, I'm trying to understand why RelMdColumnUniqueness. I have interest in subclassing RelMdColumnUniqueness in my project and am unable to do so because the constructor is private. Other metadata queries don't appear to have private constructors, such as RelMdRowCount. If anyone has any